converted wysiwyg editor to ckeditor5

This commit is contained in:
2024-09-18 12:54:19 +02:00
parent ffc5fac46f
commit 64d6f926ee
28 changed files with 212 additions and 83 deletions
@@ -1,5 +1,5 @@
uuid: 38c2ac3c-777e-4839-9242-2de2c1557d7c
langcode: en
langcode: fr
status: true
dependencies:
module:
@@ -1,5 +1,5 @@
uuid: 13ffffee-26eb-446f-bc8b-327d06b8d2e1
langcode: en
langcode: fr
status: true
dependencies:
config:
@@ -1,5 +1,5 @@
uuid: b47804c0-db49-4c3d-abec-3367f6225f33
langcode: en
langcode: fr
status: true
dependencies:
module:
+5
View File
@@ -0,0 +1,5 @@
_core:
default_config_hash: FDmXqAGlITLYpZe80ONLw6Y1KEMSvqcMJX1pj2dk6nw
langcode: fr
prefixes:
- drupal
+2
View File
@@ -14,7 +14,9 @@ module:
breakpoint: 0
bulkdelete: 0
ckeditor: 0
ckeditor5: 0
color_field: 0
composer_deploy: 0
config: 0
config_devel: 0
config_filter: 0
+33 -44
View File
@@ -1,62 +1,51 @@
uuid: 697b5a71-705e-4a0a-bee6-d6e8cf8cfeca
uuid: 2c46d71d-67dc-4648-89b8-68a51511ba90
langcode: fr
status: true
dependencies:
config:
- filter.format.wysiwyg
module:
- ckeditor
- ckeditor5
format: wysiwyg
editor: ckeditor
editor: ckeditor5
settings:
toolbar:
rows:
-
-
name: Formats
items:
- Styles
- Bold
- Italic
- Underline
-
name: Liens
items:
- DrupalLink
- DrupalUnlink
-
name: Listes
items:
- BulletedList
- NumberedList
-
name: Média
items:
- Blockquote
- DrupalImage
-
name: Outils
items:
- Source
-
name: Copy/Paste
items:
- Copy
- Cut
- Paste
- PasteText
- PasteFromWord
items:
- style
- bold
- italic
- underline
- '|'
- link
- '|'
- bulletedList
- numberedList
- '|'
- blockQuote
- drupalInsertImage
- '|'
- sourceEditing
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_profile: collection
stylescombo:
styles: h4.inter-titre|Inter-titre
image_upload:
status: true
scheme: public
directory: wysiwyg-images
max_size: ''
max_dimensions:
width: null
height: null
width: 0
height: 0
+1 -1
View File
@@ -48,7 +48,7 @@ filters:
status: false
weight: -43
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_nofollow: false
audio_links:
@@ -0,0 +1,2 @@
settings:
label: Help
@@ -0,0 +1,2 @@
settings:
label: 'User account menu'
@@ -0,0 +1,2 @@
settings:
label: Breadcrumbs
@@ -0,0 +1 @@
label: Default
@@ -0,0 +1 @@
label: 'Change a node to next Workflow state'
@@ -0,0 +1 @@
label: 'Edit content'
@@ -0,0 +1 @@
label: 'Edit taxonomy terms'
@@ -0,0 +1 @@
label: 'Edit users'
@@ -1,26 +1,13 @@
label: 'Workflow Entity history'
description: 'Enable this View to configure the history tab.'
display:
default:
display_title: Master
display_options:
exposed_form:
options:
submit_button: Apply
reset_button_label: Reset
exposed_sorts_label: 'Sort by'
sort_asc_label: Asc
sort_desc_label: Desc
pager:
options:
expose:
items_per_page_label: 'Items per page'
items_per_page_options_all_label: '- All -'
offset_label: Offset
tags:
previous: ‹‹
next: ››
fields:
from_sid:
separator: ', '
label: 'From state'
to_sid:
separator: ', '
label: 'To state'
hid:
label: 'Transition ID'
separator: ', '
@@ -30,12 +17,6 @@ display:
field_name:
label: 'Field name'
separator: ', '
from_sid:
label: 'From state'
separator: ', '
to_sid:
label: 'To state'
separator: ', '
uid:
label: 'User ID'
separator: ', '
@@ -44,12 +25,31 @@ display:
separator: ', '
operations:
label: Operations
title: 'Workflow history'
pager:
options:
tags:
next: ››
previous: ‹‹
expose:
items_per_page_label: 'Items per page'
items_per_page_options_all_label: '- All -'
offset_label: Offset
exposed_form:
options:
submit_button: Apply
reset_button_label: Reset
exposed_sorts_label: 'Sort by'
sort_asc_label: Asc
sort_desc_label: Desc
arguments:
entity_id:
exception:
title: All
title: 'Workflow history'
display_title: Master
workflow_history_tab:
display_title: 'Workflow history tab'
display_options:
display_description: 'Replaces the transition list in the Workflow tab.'
label: 'Workflow Entity history'
description: 'Enable this View to configure the history tab.'
@@ -1,12 +1,12 @@
uuid: 4a884f21-148c-4983-b9a0-9c13ad9a41b9
langcode: en
langcode: fr
status: true
dependencies:
module:
- node
_core:
default_config_hash: 0Jw_BFJCCtWk187tIYvME58VFpYwPaAdrc4eRtAyHH0
label: Default
label: Master
id: default
description: 'A default Linkit profile'
matchers:
@@ -17,7 +17,7 @@ matchers:
metadata: '[node:content-type:name] #[node:nid] | [node:created:medium] by [node:author]'
bundles: { }
group_by_bundle: false
include_unpublished: false
substitution_type: canonical
limit: 100
include_unpublished: false
weight: 0
@@ -1,5 +1,5 @@
uuid: f205aad5-809d-45af-bd88-9ed0376767e9
langcode: en
langcode: fr
status: true
dependencies:
module:
@@ -1,5 +1,5 @@
uuid: bd31b941-546e-40ec-9fb2-d4406b0bf8d3
langcode: en
langcode: fr
status: true
dependencies:
module:
@@ -1,5 +1,5 @@
uuid: 1bb44a7a-18e2-42c6-a6d4-d44ad73040d7
langcode: en
langcode: fr
status: true
dependencies:
module:
+2
View File
@@ -15,6 +15,8 @@ dependencies:
- taxonomy.vocabulary.genres
- taxonomy.vocabulary.langues
- taxonomy.vocabulary.locuteurs
- workflow.workflow.corpus_documents
- workflow.workflow.generique
module:
- actions_permissions
- content_translation
+2 -1
View File
@@ -5,11 +5,12 @@ dependencies:
config:
- filter.format.wysiwyg
- rest.resource.user_registration
- workflow.workflow.corpus_documents
- workflow.workflow.generique
module:
- devel
- filter
- rest
- synonyms
- system
- workflow
_core:
+2 -1
View File
@@ -5,12 +5,13 @@ dependencies:
config:
- filter.format.wysiwyg
- rest.resource.user_registration
- workflow.workflow.corpus_documents
- workflow.workflow.generique
module:
- devel
- edlp_studio
- filter
- rest
- synonyms
- system
- workflow
_core:
+2
View File
@@ -9,6 +9,8 @@ dependencies:
- taxonomy.vocabulary.genres
- taxonomy.vocabulary.langues
- taxonomy.vocabulary.locuteurs
- workflow.workflow.corpus_documents
- workflow.workflow.generique
module:
- filter
- node
+2
View File
@@ -2,6 +2,8 @@ uuid: 6da9406b-e985-4fbd-a6d1-9c134f04220e
langcode: fr
status: true
dependencies:
config:
- workflow.workflow.generique
module:
- workflow
id: invite