Update input formats simply by saving (& switching minimal to ckeditor5)

This commit is contained in:
benjamin melançon 2025-02-21 23:25:29 -05:00
parent bf260559c0
commit fd8b85d8cc
14 changed files with 106 additions and 47 deletions

View file

@ -62,6 +62,8 @@ settings:
enabled_attributes: { }
linkit_extension:
linkit_enabled: false
wysiwyg_linebreaks_extension:
method: force
image_upload:
status: true
scheme: public

View file

@ -0,0 +1,15 @@
status: true
dependencies:
config:
- filter.format.footnote
module:
- ckeditor5
format: footnote
editor: ckeditor5
settings:
toolbar:
items:
- bold
- italic
- link
image_upload: { }

View file

@ -18,7 +18,7 @@ settings:
- superscript
- subscript
- removeFormat
- Footnotes
- footnotes
- link
- bulletedList
- numberedList
@ -50,5 +50,7 @@ settings:
linkit_profile: default
media_media:
allow_view_mode_override: false
wysiwyg_linebreaks_extension:
method: force
image_upload:
status: false

View file

@ -1,44 +1,51 @@
uuid: c627e429-1f81-4d6d-87a1-402d40f43c6b
uuid: 544510b1-f241-4456-83a3-f602c111c46e
langcode: en
status: true
dependencies:
config:
- filter.format.minimalhtml
module:
- ckeditor
_core:
default_config_hash: kP3r4Ns9C1XIg5vFA9a0mteIKThq8E_eL43z7VIZUTY
- ckeditor5
format: minimalhtml
editor: ckeditor
editor: ckeditor5
settings:
toolbar:
rows:
-
-
name: Formatting
items:
- Bold
- Italic
-
name: Links
items:
- DrupalLink
- DrupalUnlink
-
name: Lists
items:
- BulletedList
- NumberedList
-
name: Media
items:
- Blockquote
-
name: Tools
items:
- Source
items:
- bold
- italic
- '|'
- link
- '|'
- bulletedList
- numberedList
- '|'
- blockQuote
- '|'
- sourceEditing
- '|'
- code
plugins:
linebreaks:
ckeditor5_list:
properties:
reversed: false
startIndex: true
multiBlock: true
ckeditor5_sourceEditing:
allowed_tags:
- '<cite>'
- '<dl>'
- '<dt>'
- '<dd>'
- '<abbr title>'
- '<a hreflang>'
- '<blockquote cite>'
- '<ul type>'
- '<ol type>'
editor_advanced_link_link:
enabled_attributes: { }
linkit_extension:
linkit_enabled: false
wysiwyg_linebreaks_extension:
method: force
image_upload:
status: false

View file

@ -4,7 +4,6 @@ status: true
dependencies:
module:
- editor
- footnotes
- linkit
_core:
default_config_hash: 73bBl0mQ4I5Md9_FoI1V9MErX_I6ykC9gNKwLqb80Ko
@ -30,22 +29,13 @@ filters:
status: true
weight: 8
settings: { }
filter_footnotes:
id: filter_footnotes
provider: footnotes
status: false
weight: 0
settings:
footnotes_collapse: '0'
footnotes_html: '0'
footnotes_css: '1'
filter_html:
id: filter_html
provider: filter
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 type start> <strong> <em> <code> <li> <img src alt height width data-entity-uuid data-entity-type 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 class data-insert-attach data-insert-type title> <blockquote cite> <ul type> <ol type start> <strong> <em> <code> <li> <img src alt height width data-entity-uuid data-entity-type data-caption data-align class data-insert-attach data-insert-type sizes srcset title> <audio contenteditable controls data-insert-attach data-insert-type src type> <span class data-insert-attach data-insert-type> <video contenteditable controls data-insert-attach data-insert-type src type>'
filter_html_help: false
filter_html_nofollow: false
filter_html_image_secure:

View file

@ -0,0 +1,26 @@
status: true
dependencies:
module:
- footnotes
name: Footnote
format: footnote
filters:
filter_html:
id: filter_html
provider: filter
status: true
weight: -10
settings:
allowed_html: '<br> <p> <strong> <em> <a href>'
filter_html_help: true
filter_html_nofollow: false
filter_footnotes:
id: filter_footnotes
provider: footnotes
status: false
weight: 0
settings:
footnotes_collapse: false
footnotes_css: true
footnotes_dialog: false
footnotes_footer_disable: false

View file

@ -44,9 +44,10 @@ filters:
status: true
weight: -42
settings:
footnotes_collapse: '0'
footnotes_html: '1'
footnotes_css: '1'
footnotes_collapse: false
footnotes_css: true
footnotes_dialog: false
footnotes_footer_disable: false
filter_html:
id: filter_html
provider: filter

View file

@ -20,7 +20,7 @@ filters:
status: true
weight: -10
settings:
allowed_html: '<a href hreflang> <abbr title> <em> <strong> <cite> <blockquote cite> <code> <ul type> <ol start type> <li> <dl> <dt> <dd>'
allowed_html: '<br> <p> <cite> <dl> <dt> <dd> <abbr title> <a hreflang href> <blockquote cite> <ul type> <ol type start> <strong> <em> <code> <li>'
filter_html_help: true
filter_html_nofollow: false
filter_htmlcorrector:

View file

@ -14,6 +14,10 @@ filters:
status: true
weight: 0
settings: { }
filter_footnotes:
settings:
footnotes_footer_disable: false
footnotes_dialog: false
filter_html_escape:
id: filter_html_escape
provider: filter

View file

@ -14,6 +14,10 @@ filters:
status: true
weight: 0
settings: { }
filter_footnotes:
settings:
footnotes_footer_disable: false
footnotes_dialog: false
filter_html:
id: filter_html
provider: filter

View file

@ -3,6 +3,7 @@ langcode: en
status: true
dependencies:
config:
- filter.format.footnote
- filter.format.full_html
- media.type.image
- node.type.article
@ -46,6 +47,7 @@ permissions:
- 'edit terms in tags'
- 'skip comment approval'
- 'update media'
- 'use text format footnote'
- 'use text format full_html'
- 'view the administration theme'
- 'view visitors counter'

View file

@ -3,6 +3,7 @@ langcode: en
status: true
dependencies:
config:
- filter.format.footnote
- filter.format.full_html
module:
- comment
@ -52,6 +53,7 @@ permissions:
- 'delete own files'
- 'revert all revisions'
- 'skip comment approval'
- 'use text format footnote'
- 'use text format full_html'
- 'view all revisions'
- 'view own unpublished content'

View file

@ -3,6 +3,7 @@ langcode: en
status: true
dependencies:
config:
- filter.format.footnote
- filter.format.full_html
- node.type.blog
module:
@ -36,6 +37,7 @@ permissions:
- 'edit own comments'
- 'post comments'
- 'skip comment approval'
- 'use text format footnote'
- 'use text format full_html'
- 'view own unpublished content'
- 'view the administration theme'

View file

@ -3,6 +3,7 @@ langcode: en
status: true
dependencies:
config:
- filter.format.footnote
- filter.format.full_html
module:
- block
@ -82,6 +83,7 @@ permissions:
- 'edit gdpr_checklist checklistapi checklist'
- 'revert all revisions'
- 'skip comment approval'
- 'use text format footnote'
- 'use text format full_html'
- 'view all revisions'
- 'view own unpublished content'