diff --git a/packages/ep_theme/Configuration/RTE/Default.yaml b/packages/ep_theme/Configuration/RTE/Default.yaml index 5f2866c..2edaf12 100644 --- a/packages/ep_theme/Configuration/RTE/Default.yaml +++ b/packages/ep_theme/Configuration/RTE/Default.yaml @@ -1,5 +1,6 @@ imports: - { resource: "EXT:rte_ckeditor/Configuration/RTE/Processing.yaml" } + - { resource: "EXT:ep_theme/Configuration/RTE/Processing.yaml" } - { resource: "EXT:rte_ckeditor/Configuration/RTE/Editor/Base.yaml" } - { resource: "EXT:rte_ckeditor/Configuration/RTE/Editor/Plugins.yaml" } diff --git a/packages/ep_theme/Configuration/RTE/Minimal.yaml b/packages/ep_theme/Configuration/RTE/Minimal.yaml index 27a1054..0a47d6b 100644 --- a/packages/ep_theme/Configuration/RTE/Minimal.yaml +++ b/packages/ep_theme/Configuration/RTE/Minimal.yaml @@ -1,5 +1,6 @@ imports: - { resource: "EXT:rte_ckeditor/Configuration/RTE/Processing.yaml" } + - { resource: "EXT:ep_theme/Configuration/RTE/Processing.yaml" } - { resource: "EXT:rte_ckeditor/Configuration/RTE/Editor/Base.yaml" } - { resource: "EXT:rte_ckeditor/Configuration/RTE/Editor/Plugins.yaml" } diff --git a/packages/ep_theme/Configuration/RTE/Processing.yaml b/packages/ep_theme/Configuration/RTE/Processing.yaml new file mode 100644 index 0000000..3de8e96 --- /dev/null +++ b/packages/ep_theme/Configuration/RTE/Processing.yaml @@ -0,0 +1,10 @@ +# CKEditor 5 writes a data-list-item-id attribute to every list item it saves; it is only used inside the +# editor. Removed on the way into the database, everything else passes unchanged. +processing: + exitHTMLparser_db: + keepNonMatchedTags: 1 + tags: + li: + fixAttrib: + data-list-item-id: + unset: 1