upgraded to ckeditor5

This commit is contained in:
2025-07-22 21:35:56 +02:00
parent f1a9390611
commit 302e4fdc15
7 changed files with 87 additions and 93 deletions
@@ -1,3 +1,4 @@
langcode: fr
enforced_configs: enforced_configs:
'config_enforce:registry:computed_token_field': 'config_enforce:registry:computed_token_field':
config_directory: config/install config_directory: config/install
+1 -1
View File
@@ -17,7 +17,7 @@ module:
block_class: 0 block_class: 0
block_content: 0 block_content: 0
breakpoint: 0 breakpoint: 0
ckeditor: 0 ckeditor5: 0
computed_field: 0 computed_field: 0
computed_token_field: 0 computed_token_field: 0
config: 0 config: 0
+37 -43
View File
@@ -1,53 +1,47 @@
uuid: 9a8385ea-bc82-4f68-a84e-dd623bf7c099 uuid: 63cd7f9f-3e2c-427b-87fb-4572c2e1ddf5
langcode: en langcode: en
status: true status: true
dependencies: dependencies:
config: config:
- filter.format.webform_default - filter.format.webform_default
module: module:
- ckeditor - ckeditor5
format: webform_default format: webform_default
editor: ckeditor editor: ckeditor5
settings: settings:
toolbar: toolbar:
rows: items:
- - heading
- - '|'
name: Formatting - bold
items: - italic
- Format - subscript
- Bold - superscript
- Italic - '|'
- Superscript - specialCharacters
- Subscript - '|'
- - numberedList
name: Media - bulletedList
items: - '|'
- SpecialChar - link
- ImceImage - '|'
- - indent
name: Linking - outdent
items: - '|'
- DrupalLink - blockQuote
- DrupalUnlink - '|'
- - sourceEditing
name: Lists plugins:
items: ckeditor5_heading:
- NumberedList enabled_headings:
- BulletedList - heading2
- - heading3
name: Indentation - heading4
items: - heading5
- Outdent - heading6
- Indent ckeditor5_list:
- reversed: true
name: 'Block Formatting' startIndex: true
items: ckeditor5_sourceEditing:
- Blockquote allowed_tags: { }
-
name: Tools
items:
- Source
- Maximize
plugins: { }
image_upload: { } image_upload: { }
+33 -46
View File
@@ -1,64 +1,51 @@
uuid: 0b448044-22d4-49e6-9d45-d849b3b4d154 uuid: cb09e5e1-dbca-45f6-a4be-c2e2debac9a9
langcode: fr langcode: fr
status: true status: true
dependencies: dependencies:
config: config:
- filter.format.wysiwyg - filter.format.wysiwyg
module: module:
- ckeditor - ckeditor5
_core:
default_config_hash: 45tCDsVx8RKDcrtyfVeP88jcBXzIxLtadjP2kF_DIjs
format: wysiwyg format: wysiwyg
editor: ckeditor editor: ckeditor5
settings: settings:
toolbar: toolbar:
rows: items:
- - style
- - bold
name: Formats - italic
items: - underline
- Styles - '|'
- Bold - link
- Italic - '|'
- Underline - bulletedList
- - numberedList
name: Liens - '|'
items: - blockQuote
- DrupalLink - drupalInsertImage
- DrupalUnlink - '|'
- - sourceEditing
name: Listes
items:
- BulletedList
- NumberedList
-
name: Média
items:
- Blockquote
- DrupalImage
-
name: Outils
items:
- Source
-
name: Copy/Paste
items:
- Copy
- Cut
- Paste
- PasteText
- PasteFromWord
plugins: plugins:
drupallink: ckeditor5_style:
styles:
-
label: Inter-titre
element: '<h4 class="inter-titre">'
ckeditor5_sourceEditing:
allowed_tags: { }
ckeditor5_list:
reversed: true
startIndex: true
ckeditor5_imageResize:
allow_resize: true
linkit_extension:
linkit_enabled: true linkit_enabled: true
linkit_profile: default linkit_profile: default
stylescombo:
styles: h4.inter-titre|Inter-titre
image_upload: image_upload:
status: true status: true
scheme: public scheme: public
directory: wysiwyg-images directory: wysiwyg-images
max_size: '' max_size: ''
max_dimensions: max_dimensions:
width: null width: 0
height: null height: 0
@@ -1,5 +1,5 @@
uuid: ac1217b3-4157-439e-9b6d-872de892e226 uuid: ac1217b3-4157-439e-9b6d-872de892e226
langcode: en langcode: fr
status: true status: true
dependencies: dependencies:
enforced: enforced:
+13 -1
View File
@@ -4,6 +4,7 @@ status: true
dependencies: dependencies:
module: module:
- editor - editor
- pathologic
_core: _core:
default_config_hash: w3wAkgsV6hn7P_cXCSnV-_1B_HOVJ7qwjv2DZID3B7g default_config_hash: w3wAkgsV6hn7P_cXCSnV-_1B_HOVJ7qwjv2DZID3B7g
name: wysiwyg name: wysiwyg
@@ -47,7 +48,7 @@ filters:
status: false status: false
weight: -43 weight: -43
settings: settings:
allowed_html: '<em> <strong> <cite> <blockquote cite> <code> <ul type> <ol start type> <li> <dl> <dt> <dd> <h2 id> <h3 id> <h5 id> <h6 id> <u> <a href hreflang !href accesskey id rel target title data-entity-type data-entity-uuid data-entity-substitution> <img src alt data-entity-type data-entity-uuid data-entity-substitution> <p> <h1> <pre> <h4 id class="inter-titre">' allowed_html: '<h4 class="inter-titre">'
filter_html_help: true filter_html_help: true
filter_html_nofollow: false filter_html_nofollow: false
filter_align: filter_align:
@@ -68,3 +69,14 @@ filters:
status: false status: false
weight: -42 weight: -42
settings: { } settings: { }
filter_pathologic:
id: filter_pathologic
provider: pathologic
status: false
weight: 50
settings:
settings_source: global
local_settings:
protocol_style: full
local_paths: ''
keep_language_prefix: true