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
+36 -42
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:
-
-
name: Formatting
items: items:
- Format - heading
- Bold - '|'
- Italic - bold
- Superscript - italic
- Subscript - subscript
- - superscript
name: Media - '|'
items: - specialCharacters
- SpecialChar - '|'
- ImceImage - numberedList
- - bulletedList
name: Linking - '|'
items: - link
- DrupalLink - '|'
- DrupalUnlink - indent
- - outdent
name: Lists - '|'
items: - blockQuote
- NumberedList - '|'
- BulletedList - sourceEditing
- plugins:
name: Indentation ckeditor5_heading:
items: enabled_headings:
- Outdent - heading2
- Indent - heading3
- - heading4
name: 'Block Formatting' - heading5
items: - heading6
- Blockquote ckeditor5_list:
- reversed: true
name: Tools startIndex: true
items: ckeditor5_sourceEditing:
- Source allowed_tags: { }
- Maximize
plugins: { }
image_upload: { } image_upload: { }
+32 -45
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:
-
-
name: Formats
items: items:
- Styles - style
- Bold - bold
- Italic - italic
- Underline - underline
- - '|'
name: Liens - link
items: - '|'
- DrupalLink - bulletedList
- DrupalUnlink - numberedList
- - '|'
name: Listes - blockQuote
items: - drupalInsertImage
- BulletedList - '|'
- NumberedList - sourceEditing
-
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