Configure full html text editor

This commit is contained in:
Keegan Rankin 2024-03-07 17:49:46 -08:00
parent abc6efebc3
commit a3ecb2a905
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
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: { }

View file

@ -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: '<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_nofollow: false
filter_html_escape:
@ -93,6 +94,15 @@ filters:
weight: -47
settings:
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:
id: noreferrer
provider: noreferrer

View file

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

View file

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