Skip to content

Commit

Permalink
D10 Update - fixing failing behat tests and configuring new text editor.
Browse files Browse the repository at this point in the history
  • Loading branch information
catchenry committed Oct 31, 2023
1 parent a51b041 commit 6574a8c
Show file tree
Hide file tree
Showing 15 changed files with 963 additions and 8 deletions.
1 change: 1 addition & 0 deletions config/default/core.extension.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ module:
lightning_search: 0
lightning_workflow: 0
link: 0
maillog: 0
mailsystem: 0
masquerade: 0
media: 0
Expand Down
25 changes: 25 additions & 0 deletions config/default/editor.editor.email_html.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
uuid: 2afc2b0b-af53-4414-adc6-b287aa18bda7
langcode: en
status: true
dependencies:
config:
- filter.format.email_html
module:
- ckeditor5
format: email_html
editor: ckeditor5
settings:
toolbar:
items:
- heading
- bold
- italic
plugins:
ckeditor5_heading:
enabled_headings:
- heading2
- heading3
- heading4
- heading5
- heading6
image_upload: { }
44 changes: 44 additions & 0 deletions config/default/editor.editor.rich_text.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,50 @@ settings:
- codeBlock
- sourceEditing
plugins:
ckeditor5_codeBlock:
languages:
-
label: 'Plain text'
language: plaintext
-
label: C
language: c
-
label: 'C#'
language: cs
-
label: C++
language: cpp
-
label: CSS
language: css
-
label: Diff
language: diff
-
label: HTML
language: html
-
label: Java
language: java
-
label: JavaScript
language: javascript
-
label: PHP
language: php
-
label: Python
language: python
-
label: Ruby
language: ruby
-
label: TypeScript
language: typescript
-
label: XML
language: xml
ckeditor5_heading:
enabled_headings:
- heading1
Expand Down
44 changes: 44 additions & 0 deletions config/default/editor.editor.rich_text_with_media.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,50 @@ settings:
- codeBlock
- sourceEditing
plugins:
ckeditor5_codeBlock:
languages:
-
label: 'Plain text'
language: plaintext
-
label: C
language: c
-
label: 'C#'
language: cs
-
label: C++
language: cpp
-
label: CSS
language: css
-
label: Diff
language: diff
-
label: HTML
language: html
-
label: Java
language: java
-
label: JavaScript
language: javascript
-
label: PHP
language: php
-
label: Python
language: python
-
label: Ruby
language: ruby
-
label: TypeScript
language: typescript
-
label: XML
language: xml
ckeditor5_heading:
enabled_headings:
- heading1
Expand Down
47 changes: 47 additions & 0 deletions config/default/editor.editor.rich_text_wizard.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
uuid: 993197d4-c3b2-400b-aaf7-c0548cef2aac
langcode: en
status: true
dependencies:
config:
- filter.format.rich_text_wizard
module:
- ckeditor5
format: rich_text_wizard
editor: ckeditor5
settings:
toolbar:
items:
- heading
- bold
- italic
- strikethrough
- subscript
- superscript
- horizontalLine
- removeFormat
- link
- bulletedList
- numberedList
- blockQuote
- insertTable
- style
- sourceEditing
plugins:
ckeditor5_heading:
enabled_headings:
- heading2
- heading3
- heading4
- heading5
- heading6
ckeditor5_list:
reversed: true
startIndex: true
ckeditor5_sourceEditing:
allowed_tags: { }
ckeditor5_style:
styles:
-
label: 'Square link'
element: '<a class="square">'
image_upload: { }
3 changes: 3 additions & 0 deletions config/default/field.field.node.cfo_committee.body.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ status: true
dependencies:
config:
- field.storage.node.body
- filter.format.rich_text
- node.type.cfo_committee
module:
- foia_autocalc
Expand All @@ -26,4 +27,6 @@ default_value_callback: ''
settings:
display_summary: true
required_summary: false
allowed_formats:
- rich_text
field_type: text_with_summary
12 changes: 6 additions & 6 deletions config/default/filter.format.rich_text.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,12 @@ filters:
weight: -42
settings:
filter_url_length: 72
filter_image_lazy_load:
id: filter_image_lazy_load
provider: filter
status: true
weight: -44
settings: { }
media_embed:
id: media_embed
provider: media
Expand All @@ -94,9 +100,3 @@ filters:
audio_file: audio_file
document: document
image: image
filter_image_lazy_load:
id: filter_image_lazy_load
provider: filter
status: true
weight: -44
settings: { }
5 changes: 5 additions & 0 deletions config/default/maillog.settings.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
_core:
default_config_hash: qE7nRF7VKMVNntpJzc4mJtGeq3MOzeYF9orshg3dXyE
send: true
log: true
verbose: true
2 changes: 1 addition & 1 deletion config/default/system.mail.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
_core:
default_config_hash: rYgt7uhPafP2ngaN_ZUPFuyI4KdE0zU868zLNSlzKoE
interface:
default: php_mail
default: maillog
Loading

0 comments on commit 6574a8c

Please sign in to comment.