From 249d49aaaa23644dc407a69a32bcd7ffea4d6e97 Mon Sep 17 00:00:00 2001 From: Daniel Siepmann Date: Fri, 13 Dec 2019 15:37:44 +0100 Subject: [PATCH] Improve rte --- Configuration/RTE/Default.yaml | 5 +++-- Resources/Private/Sass/components/_ckeditor.scss | 5 ++++- Resources/Private/Sass/index.scss | 1 + 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/Configuration/RTE/Default.yaml b/Configuration/RTE/Default.yaml index 06be146..719ffd1 100644 --- a/Configuration/RTE/Default.yaml +++ b/Configuration/RTE/Default.yaml @@ -56,8 +56,9 @@ processing: HTMLparser_db: tags: ol: - allowedAttribs: - - start + allowedAttribs: [] + ul: + allowedAttribs: [] code: allowedAttribs: [] pre: diff --git a/Resources/Private/Sass/components/_ckeditor.scss b/Resources/Private/Sass/components/_ckeditor.scss index 9aeecd7..af5ea01 100644 --- a/Resources/Private/Sass/components/_ckeditor.scss +++ b/Resources/Private/Sass/components/_ckeditor.scss @@ -1,3 +1,6 @@ body.cke_editable { - padding-top: $spacer; + padding: { + top: $spacer * 2; + bottom: $spacer * 2; + } } diff --git a/Resources/Private/Sass/index.scss b/Resources/Private/Sass/index.scss index 953bc96..0f2c043 100644 --- a/Resources/Private/Sass/index.scss +++ b/Resources/Private/Sass/index.scss @@ -13,4 +13,5 @@ @import "components/codeHighlighting"; @import "components/feedit"; +@import "components/ckeditor"; @import "components/admonition";