From effbd5b438c5151a3656d383ac639a4e3d29fca9 Mon Sep 17 00:00:00 2001 From: Benjamin Franzke <ben@bnf.dev> Date: Mon, 19 Feb 2024 13:39:29 +0100 Subject: [PATCH] [DOCS] Update CKEditor5 CSS styling limitations section With #100768 the CKEeditor5 CSS scoping was migrated from server-side SCSS preprocessing to a JavaScript based CSS prefixer. The Feature.rst has not been updated and still referred to limitations caused by the removed SCSS parser. Resolves: #103151 Related: #100768 Releases: main, 12.4 Change-Id: I0f9e7d0c8c88c906b65290c29f2b2cc0e179058a Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/82985 Reviewed-by: Benjamin Franzke <ben@bnf.dev> Tested-by: core-ci <typo3@b13.com> Tested-by: Benjamin Franzke <ben@bnf.dev> --- .../Changelog/12.0/Feature-96874-CKEditor5.rst | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/typo3/sysext/core/Documentation/Changelog/12.0/Feature-96874-CKEditor5.rst b/typo3/sysext/core/Documentation/Changelog/12.0/Feature-96874-CKEditor5.rst index 0baca20018b2..98e49d1d0c70 100644 --- a/typo3/sysext/core/Documentation/Changelog/12.0/Feature-96874-CKEditor5.rst +++ b/typo3/sysext/core/Documentation/Changelog/12.0/Feature-96874-CKEditor5.rst @@ -42,10 +42,11 @@ CSS Styling CKEditor 5 does not load its editor in a specific iframe anymore. Especially for adding custom styling and fonts, all CSS declarations now need to be prefixed -with ".ck-content". This can be achieved via SCSS, which TYPO3 natively -handles for custom CSS styles. -However, <body> tag CSS declarations won't work, as the `<body>` tag does not -apply to the editor HTML rendering anymore. +with ".ck-content". This scoping is applied by TYPO3 automatically to all custom +CSS styles. + +Please be aware that referenced CSS stylesheets need to be downloadable via +:js:`fetch()` in order for the JavaScript based prefixing to work. Configuration Options --------------------- -- GitLab