Re-add CKEditor to the basic HTML text format

This commit is contained in:
Oliver Davies 2024-04-09 21:20:11 +01:00
parent f10fd9b803
commit dc1c2922f1
2 changed files with 54 additions and 1 deletions

View file

@ -0,0 +1,53 @@
uuid: 01255b3b-61c7-499f-af49-b56c9bd0292c
langcode: en
status: true
dependencies:
config:
- filter.format.basic_html
module:
- ckeditor5
format: basic_html
editor: ckeditor5
settings:
toolbar:
items:
- heading
- bold
- italic
- '|'
- link
- blockQuote
- bulletedList
- numberedList
- code
- sourceEditing
plugins:
ckeditor5_heading:
enabled_headings:
- heading2
- heading3
- heading4
- heading5
- heading6
ckeditor5_list:
properties:
reversed: false
startIndex: true
multiBlock: true
ckeditor5_sourceEditing:
allowed_tags:
- '<cite>'
- '<dl>'
- '<dt>'
- '<dd>'
- '<a hreflang>'
- '<blockquote cite>'
- '<ul type>'
- '<ol type>'
- '<img src alt data-entity-uuid data-entity-type height width data-caption data-align>'
- '<h2 id>'
- '<h3 id>'
- '<h4 id>'
- '<h5 id>'
- '<h6 id>'
image_upload: { }

View file

@ -34,7 +34,7 @@ filters:
status: true
weight: -10
settings:
allowed_html: '<br> <p> <h2 id> <h3 id> <h4 id> <h5 id> <h6 id> <cite> <dl> <dt> <dd> <a hreflang href> <blockquote cite> <ul type> <ol start type> <strong> <em> <code> <li> <img src alt data-entity-uuid data-entity-type height width data-caption data-align>'
allowed_html: '<br> <p> <h2 id> <h3 id> <h4 id> <h5 id> <h6 id> <cite> <dl> <dt> <dd> <a hreflang href> <blockquote cite> <ul type> <ol type start> <img src alt data-entity-uuid data-entity-type height width data-caption data-align> <strong> <em> <code> <li>'
filter_html_help: false
filter_html_nofollow: false
filter_html_image_secure: