Configure full html text editor

This commit is contained in:
Keegan Rankin 2024-03-07 17:49:46 -08:00
parent 718253d3b4
commit 00f5c9c525
4 changed files with 22 additions and 73 deletions

View file

@ -1,4 +1,4 @@
uuid: a5f0abfb-3948-4dc0-b8d6-f790acee0227 uuid: 041f5b78-6d48-495d-8e78-6cc728679a20
langcode: en langcode: en
status: true status: true
dependencies: dependencies:
@ -6,77 +6,28 @@ dependencies:
- filter.format.full_html - filter.format.full_html
module: module:
- ckeditor5 - ckeditor5
_core:
default_config_hash: 967ijj7p6i7rwrYl7r08WQFeCY_c23YAh0h8u-w_CXM
format: full_html format: full_html
editor: ckeditor5 editor: ckeditor5
settings: settings:
toolbar: toolbar:
items: items:
- heading
- bold - bold
- italic - italic
- underline - underline
- strikethrough
- code
- superscript - superscript
- subscript - subscript
- removeFormat - removeFormat
- '|' - Footnotes
- link - link
- '|'
- bulletedList - bulletedList
- numberedList - numberedList
- '|'
- blockQuote - blockQuote
- drupalInsertImage - drupalMedia
- insertTable - insertTable
- specialCharacters
- horizontalLine - horizontalLine
- '|' - showBlocks
- heading
- '|'
- undo
- redo
- sourceEditing - 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: plugins:
ckeditor5_heading: ckeditor5_heading:
enabled_headings: enabled_headings:
@ -85,8 +36,6 @@ settings:
- heading4 - heading4
- heading5 - heading5
- heading6 - heading6
ckeditor5_imageResize:
allow_resize: true
ckeditor5_list: ckeditor5_list:
properties: properties:
reversed: true reversed: true
@ -94,16 +43,11 @@ settings:
multiBlock: true multiBlock: true
ckeditor5_sourceEditing: ckeditor5_sourceEditing:
allowed_tags: { } allowed_tags: { }
drupallink: editor_advanced_link_link:
enabled_attributes: { }
linkit_extension:
linkit_enabled: true linkit_enabled: true
linkit_profile: default linkit_profile: default
linebreaks: media_media:
method: force allow_view_mode_override: false
image_upload: image_upload: { }
status: true
scheme: public
directory: inline-images
max_size: ''
max_dimensions:
width: null
height: null

View file

@ -6,6 +6,7 @@ dependencies:
- editor - editor
- footnotes - footnotes
- linkit - linkit
- media
- noreferrer - noreferrer
_core: _core:
default_config_hash: Ntb6R4iBtiXqdVDdJTRFIQFCPmwCTUi9hbphjDkjZWA default_config_hash: Ntb6R4iBtiXqdVDdJTRFIQFCPmwCTUi9hbphjDkjZWA
@ -52,7 +53,7 @@ filters:
status: false status: false
weight: -46 weight: -46
settings: settings:
allowed_html: '<em> <strong> <cite> <blockquote cite> <code> <ul type> <ol type start> <li> <dl> <dt> <dd> <h2 id> <h3 id> <h4 id> <h5 id> <h6 id> <s> <sup> <sub> <img title src alt data-entity-type data-entity-uuid data-entity-substitution data-align data-caption width height class=""> <table> <caption> <tbody> <thead> <tfoot> <th> <td> <tr> <hr> <p> <h1> <pre> <a type href hreflang !href accesskey id rel target title data-entity-type data-entity-uuid data-entity-substitution class=""> <span class=""> <u> <fn>' allowed_html: ''
filter_html_help: true filter_html_help: true
filter_html_nofollow: false filter_html_nofollow: false
filter_html_escape: filter_html_escape:
@ -93,6 +94,15 @@ filters:
weight: -47 weight: -47
settings: settings:
title: true title: true
media_embed:
id: media_embed
provider: media
status: true
weight: 100
settings:
default_view_mode: default
allowed_view_modes: { }
allowed_media_types: { }
noreferrer: noreferrer:
id: noreferrer id: noreferrer
provider: noreferrer provider: noreferrer

View file

@ -2,8 +2,6 @@ uuid: 6151d556-5104-4936-a96b-5ec733c798da
langcode: en langcode: en
status: true status: true
dependencies: dependencies:
config:
- filter.format.restricted_html
module: module:
- comment - comment
- contact - contact

View file

@ -2,9 +2,6 @@ uuid: f3a87a2a-96b2-4e23-a6c0-14bcdcad2d75
langcode: en langcode: en
status: true status: true
dependencies: dependencies:
config:
- filter.format.basic_html
- workflows.workflow.workflow_buttons_trash_publishing
module: module:
- captcha - captcha
- comment - comment