From ea4932a1a226cd9c8ccf77f6e3ef49b35d5bb076 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Markus=20Kalij=C3=A4rvi?= Date: Wed, 10 Apr 2024 14:16:47 +0300 Subject: [PATCH 1/5] UHF-9280: Added tag to filter and editor configurations. --- .../helfi_ckeditor/config/install/editor.editor.full_html.yml | 1 + .../helfi_ckeditor/config/install/editor.editor.minimal.yml | 3 ++- .../helfi_ckeditor/config/install/filter.format.full_html.yml | 2 +- .../helfi_ckeditor/config/install/filter.format.minimal.yml | 2 +- 4 files changed, 5 insertions(+), 3 deletions(-) diff --git a/modules/helfi_ckeditor/config/install/editor.editor.full_html.yml b/modules/helfi_ckeditor/config/install/editor.editor.full_html.yml index 899e1cb0c..adf81427c 100644 --- a/modules/helfi_ckeditor/config/install/editor.editor.full_html.yml +++ b/modules/helfi_ckeditor/config/install/editor.editor.full_html.yml @@ -132,6 +132,7 @@ settings: allowed_tags: - '
' - '
' + - '' helfi_ckeditor_helfi_link: helfi_link_attributes: - '' diff --git a/modules/helfi_ckeditor/config/install/editor.editor.minimal.yml b/modules/helfi_ckeditor/config/install/editor.editor.minimal.yml index 95ca7b926..9a79d4c83 100644 --- a/modules/helfi_ckeditor/config/install/editor.editor.minimal.yml +++ b/modules/helfi_ckeditor/config/install/editor.editor.minimal.yml @@ -111,7 +111,8 @@ settings: search: '(.*?)<\/a>' replace: $1 ckeditor5_sourceEditing: - allowed_tags: { } + allowed_tags: + - '' helfi_ckeditor_helfi_link: helfi_link_attributes: - '' diff --git a/modules/helfi_ckeditor/config/install/filter.format.full_html.yml b/modules/helfi_ckeditor/config/install/filter.format.full_html.yml index 97d6ad876..812e6e819 100644 --- a/modules/helfi_ckeditor/config/install/filter.format.full_html.yml +++ b/modules/helfi_ckeditor/config/install/filter.format.full_html.yml @@ -39,7 +39,7 @@ filters: status: true weight: -50 settings: - allowed_html: '