Skip to content

Commit

Permalink
Enable basic_html format
Browse files Browse the repository at this point in the history
  • Loading branch information
markaspot committed Jul 21, 2023
1 parent aa4083e commit 6c4e9e3
Show file tree
Hide file tree
Showing 40 changed files with 316 additions and 49 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,6 @@ required: false
translatable: false
default_value: { }
default_value_callback: ''
settings: { }
settings:
allowed_formats: { }
field_type: text_long
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,6 @@ required: false
translatable: false
default_value: { }
default_value_callback: ''
settings: { }
settings:
allowed_formats: { }
field_type: text_long
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,6 @@ required: false
translatable: false
default_value: { }
default_value_callback: ''
settings: { }
settings:
allowed_formats: { }
field_type: text_long
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,6 @@ required: false
translatable: false
default_value: { }
default_value_callback: ''
settings: { }
settings:
allowed_formats: { }
field_type: text_long
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,6 @@ required: false
translatable: false
default_value: { }
default_value_callback: ''
settings: { }
settings:
allowed_formats: { }
field_type: text_long
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ content:
center_lng: -73.93
limit_countrycodes: de
limit_viewbox: '-74.379155587496,41.179155587496,-73.480844412504,40.280844412504'
city: Mascity
city: 'New York'
set_address_field: '1'
tileServerUrl: 'https://stamen-tiles.a.ssl.fastly.net/toner-lite/{z}/{x}/{y}.png'
wmsLayer: ''
Expand All @@ -107,6 +107,7 @@ content:
fullscreenControl: '1'
streetNumberFormat: '1'
autoLocate: 0
limit_country_code: US
third_party_settings: { }
field_image:
type: image_image
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ third_party_settings:
- field_notes
- field_notification
- field_attachment
label: 'Internal'
label: Internal
region: content
parent_name: group_administration
weight: 31
Expand Down Expand Up @@ -131,7 +131,7 @@ third_party_settings:
- field_service_provider
- field_service_provider_notes
- field_sp_attachment
label: Service Provider
label: 'Service Provider'
region: content
parent_name: group_administration
weight: 30
Expand Down Expand Up @@ -220,7 +220,7 @@ content:
center_lng: -73.93
limit_countrycodes: de
limit_viewbox: '-74.379155587496,41.179155587496,-73.480844412504,40.280844412504'
city: Mascity
city: 'New York'
set_address_field: '1'
tileServerUrl: 'https://stamen-tiles.a.ssl.fastly.net/toner-lite/{z}/{x}/{y}.png'
wmsLayer: ''
Expand All @@ -230,6 +230,7 @@ content:
fullscreenControl: '1'
streetNumberFormat: '1'
autoLocate: 0
limit_country_code: US
third_party_settings: { }
field_image:
type: image_image
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,27 @@ third_party_settings:
third_party_settings: { }
weight: 1
additional: { }
acaebbb7-d99b-43d7-83d2-4c8182ce6f0e:
uuid: acaebbb7-d99b-43d7-83d2-4c8182ce6f0e
region: content
configuration:
id: 'field_block:node:service_request:field_request_image'
label_display: '0'
context_mapping:
entity: layout_builder.entity
formatter:
type: responsive_image
label: visually_hidden
settings:
responsive_image_style: wide
image_link: ''
image_loading:
attribute: eager
third_party_settings:
field_formatter_class:
class: ''
weight: 2
additional: { }
third_party_settings: { }
-
layout_id: layout_onecol
Expand Down Expand Up @@ -258,6 +279,8 @@ content:
settings:
responsive_image_style: wide
image_link: ''
image_loading:
attribute: eager
third_party_settings:
field_formatter_class:
class: ''
Expand Down
11 changes: 5 additions & 6 deletions config/sync/eca.eca.process_apply_group.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,16 +105,15 @@ actions:
message: |-
Hello,
a citizen request has been assigned to your organization:
Category: [node:title]
Detailed Description: [node:body]
Location of the request: [node:field_address]
To process the request, please click on the following link:
[site:url]/[node:nid]/edit
Not registered yet today? [site:url]/[node:nid]/user
--
This is an automatically generated email and cannot be replied to.
successors: { }
This is an automatically generated email and cannot be replied to.
22 changes: 13 additions & 9 deletions config/sync/eca.eca.process_tunr6d6.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ events:
configuration:
type: 'node service_request'
successors:
- id: Gateway_02ldgot
-
id: Gateway_02ldgot
condition: Flow_1bodg9x
conditions:
Flow_1bodg9x:
Expand Down Expand Up @@ -73,16 +74,20 @@ gateways:
Gateway_02ldgot:
type: 0
successors:
- id: Gateway_0nyfe5b
-
id: Gateway_0nyfe5b
condition: Flow_0ktblta
Gateway_0nyfe5b:
type: 0
successors:
- id: Activity_1u8e4au
-
id: Activity_1u8e4au
condition: Flow_0kbs1sz
- id: Activity_1rxwbas
-
id: Activity_1rxwbas
condition: Flow_0bs2byv
- id: Activity_1w5ikso
-
id: Activity_1w5ikso
condition: Flow_1joltme
actions:
Activity_1u8e4au:
Expand All @@ -101,9 +106,8 @@ actions:
[site:url][node:url:path]
Please note: If your matter is an urgent emergency or poses an immediate threat, please contact the police (110) or fire department (112) immediately. Your request will be processed by the City of Mascity during regular business hours.
replace_tokens: ''
successors: {}
successors: { }
Activity_1rxwbas:
plugin: action_send_email_action
label: 'Send E-Mail'
Expand All @@ -126,7 +130,7 @@ actions:
--
This is an automatically generated email, and unfortunately, you cannot reply to it.
replace_tokens: ''
successors: {}
successors: { }
Activity_1w5ikso:
plugin: action_send_email_action
label: 'Send E-Mail Update'
Expand All @@ -137,4 +141,4 @@ actions:
Good day! Thank you for your contribution. Your request has been forwarded to the responsible department and is now being processed. You will receive a final notification by email after it has been completed.
-- This is an automatically generated email, and unfortunately, you cannot reply to it.
replace_tokens: ''
successors: {}
successors: { }
51 changes: 51 additions & 0 deletions config/sync/editor.editor.basic_html.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
uuid: 70b75c96-a752-419f-9505-e2367a5b443d
langcode: en
status: true
dependencies:
config:
- filter.format.basic_html
module:
- ckeditor5
format: basic_html
editor: ckeditor5
settings:
toolbar:
items:
- heading
- bold
- italic
- '|'
- link
- blockQuote
- bulletedList
- numberedList
- code
- sourceEditing
plugins:
ckeditor5_heading:
enabled_headings:
- heading2
- heading3
- heading4
- heading5
- heading6
ckeditor5_list:
reversed: false
startIndex: true
ckeditor5_sourceEditing:
allowed_tags:
- '<cite>'
- '<dl>'
- '<dt>'
- '<dd>'
- '<a hreflang>'
- '<blockquote cite>'
- '<ul type>'
- '<ol type>'
- '<img src alt data-entity-uuid data-entity-type height width data-caption data-align>'
- '<h2 id>'
- '<h3 id>'
- '<h4 id>'
- '<h5 id>'
- '<h6 id>'
image_upload: { }
7 changes: 4 additions & 3 deletions config/sync/field.field.block_content.mas_custom.body.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,17 @@ id: block_content.mas_custom.body
field_name: body
entity_type: block_content
bundle: mas_custom
label: 'Body'
label: Body
description: ''
required: false
translatable: false
default_value:
-
value: ""
format: "full_html"
value: ''
format: full_html
default_value_callback: ''
settings:
display_summary: false
required_summary: false
allowed_formats: { }
field_type: text_with_summary
3 changes: 2 additions & 1 deletion config/sync/field.field.comment.comment.comment_body.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,6 @@ required: true
translatable: false
default_value: { }
default_value_callback: ''
settings: { }
settings:
allowed_formats: { }
field_type: text_long
1 change: 1 addition & 0 deletions config/sync/field.field.node.article.body.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,5 @@ default_value_callback: ''
settings:
display_summary: true
required_summary: false
allowed_formats: { }
field_type: text_with_summary
1 change: 1 addition & 0 deletions config/sync/field.field.node.boilerplate.body.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,5 @@ default_value_callback: ''
settings:
display_summary: true
required_summary: false
allowed_formats: { }
field_type: text_with_summary
1 change: 1 addition & 0 deletions config/sync/field.field.node.page.body.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,5 @@ default_value_callback: ''
settings:
display_summary: true
required_summary: false
allowed_formats: { }
field_type: text_with_summary
1 change: 1 addition & 0 deletions config/sync/field.field.node.service_request.body.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,5 @@ default_value_callback: ''
settings:
display_summary: false
required_summary: false
allowed_formats: { }
field_type: text_with_summary
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,6 @@ required: false
translatable: false
default_value: { }
default_value_callback: ''
settings: { }
settings:
allowed_formats: { }
field_type: text_long
3 changes: 2 additions & 1 deletion config/sync/field.field.node.service_request.field_notes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,6 @@ required: false
translatable: false
default_value: { }
default_value_callback: ''
settings: { }
settings:
allowed_formats: { }
field_type: text_long
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,6 @@ required: false
translatable: false
default_value: { }
default_value_callback: ''
settings: { }
settings:
allowed_formats: { }
field_type: text_long
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,12 @@ id: paragraph.status.field_status_note
field_name: field_status_note
entity_type: paragraph
bundle: status
label: Statusvermerk
description: 'für diesen Bearbeitungsschritt'
label: 'Update Status'
description: 'Please provide a brief log entry detailing the progress or changes made in this processing step.'
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings: { }
settings:
allowed_formats: { }
field_type: text_long
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ field_name: field_status_term
entity_type: paragraph
bundle: status
label: Status
description: 'Den Status ändern - erscheint öffentlich.'
description: 'Change the public status of that service request.'
required: false
translatable: false
default_value:
Expand Down
2 changes: 1 addition & 1 deletion config/sync/filter.format.basic_html.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ filters:
status: true
weight: -10
settings:
allowed_html: '<br> <p> <h2 id> <h3 id> <h4 id> <h5 id> <h6 id> <cite> <dl> <dt> <dd> <a hreflang href> <blockquote cite> <ul type> <ol start type> <strong> <em> <code> <li> <img src alt data-entity-uuid data-entity-type height width data-caption data-align>'
allowed_html: '<br> <p> <h2 id> <h3 id> <h4 id> <h5 id> <h6 id> <cite> <dl> <dt> <dd> <a hreflang href> <blockquote cite> <ul type> <ol type start> <img src alt data-entity-uuid data-entity-type height width data-caption data-align> <strong> <em> <code> <li>'
filter_html_help: false
filter_html_nofollow: false
filter_align:
Expand Down
2 changes: 2 additions & 0 deletions config/sync/markaspot_validation.settings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,5 @@ treshold: '1'
defaultLocation: 1
multiple_reports: 1
max_count: '2'
location:
- 'New York'
2 changes: 1 addition & 1 deletion config/sync/system.date.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ _core:
langcode: en
first_day: 1
country:
default: DE
default: US
timezone:
default: Europe/Berlin
user:
Expand Down
2 changes: 1 addition & 1 deletion config/sync/system.rss.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ items:
view_mode: fulltext
limit: 20
channel:
description: "Service Request. "
description: 'Service Request. '
Loading

0 comments on commit 6c4e9e3

Please sign in to comment.