From 00f5c9c525d093809788f4cc41e3d22707a81675 Mon Sep 17 00:00:00 2001 From: Keegan Rankin Date: Thu, 7 Mar 2024 17:49:46 -0800 Subject: [PATCH] Configure full html text editor --- config/sync/editor.editor.full_html.yml | 78 ++++--------------------- config/sync/filter.format.full_html.yml | 12 +++- config/sync/user.role.anonymous.yml | 2 - config/sync/user.role.authenticated.yml | 3 - 4 files changed, 22 insertions(+), 73 deletions(-) diff --git a/config/sync/editor.editor.full_html.yml b/config/sync/editor.editor.full_html.yml index 6aa37a1..12ec2f9 100644 --- a/config/sync/editor.editor.full_html.yml +++ b/config/sync/editor.editor.full_html.yml @@ -1,4 +1,4 @@ -uuid: a5f0abfb-3948-4dc0-b8d6-f790acee0227 +uuid: 041f5b78-6d48-495d-8e78-6cc728679a20 langcode: en status: true dependencies: @@ -6,77 +6,28 @@ dependencies: - filter.format.full_html module: - ckeditor5 -_core: - default_config_hash: 967ijj7p6i7rwrYl7r08WQFeCY_c23YAh0h8u-w_CXM format: full_html editor: ckeditor5 settings: toolbar: items: + - heading - bold - italic - underline - - strikethrough - - code - superscript - subscript - removeFormat - - '|' + - Footnotes - link - - '|' - bulletedList - numberedList - - '|' - blockQuote - - drupalInsertImage + - drupalMedia - insertTable - - specialCharacters - horizontalLine - - '|' - - heading - - '|' - - undo - - redo + - showBlocks - sourceEditing - rows: - - - - - name: Formatting - items: - - Bold - - Italic - - Underline - - Superscript - - Subscript - - '-' - - RemoveFormat - - - name: Linking - items: - - footnotes - - DrupalLink - - DrupalUnlink - - - name: Lists - items: - - BulletedList - - NumberedList - - - name: Media - items: - - Blockquote - - DrupalImage - - Table - - HorizontalRule - - - name: 'Block Formatting' - items: - - Format - - - name: Tools - items: - - ShowBlocks - - Source plugins: ckeditor5_heading: enabled_headings: @@ -85,8 +36,6 @@ settings: - heading4 - heading5 - heading6 - ckeditor5_imageResize: - allow_resize: true ckeditor5_list: properties: reversed: true @@ -94,16 +43,11 @@ settings: multiBlock: true ckeditor5_sourceEditing: allowed_tags: { } - drupallink: + editor_advanced_link_link: + enabled_attributes: { } + linkit_extension: linkit_enabled: true linkit_profile: default - linebreaks: - method: force -image_upload: - status: true - scheme: public - directory: inline-images - max_size: '' - max_dimensions: - width: null - height: null + media_media: + allow_view_mode_override: false +image_upload: { } diff --git a/config/sync/filter.format.full_html.yml b/config/sync/filter.format.full_html.yml index ef0201b..3e9d078 100644 --- a/config/sync/filter.format.full_html.yml +++ b/config/sync/filter.format.full_html.yml @@ -6,6 +6,7 @@ dependencies: - editor - footnotes - linkit + - media - noreferrer _core: default_config_hash: Ntb6R4iBtiXqdVDdJTRFIQFCPmwCTUi9hbphjDkjZWA @@ -52,7 +53,7 @@ filters: status: false weight: -46 settings: - allowed_html: '