Project

General

Profile

Actions

Bug #102709

closed

CKEditor "General HTML Support" stopped working with 12.4.9 update

Added by Andreas Krämer 5 months ago. Updated 4 months ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
RTE (rtehtmlarea + ckeditor)
Target version:
-
Start date:
2023-12-21
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
12
PHP Version:
8.2
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

The update from https://forge.typo3.org/issues/100861 worked fine in TYPO3 versions 12.4.7 and 12.4.8. With the release of 12.4.9, custom HTML gets lost again (tested in 2 installations).
I use the "allow all" configuration:
https://ckeditor.com/docs/ckeditor5/latest/features/html/general-html-support.html#enabling-all-html-features

    htmlSupport: {
      allow: [
        {
          name: /.*/,
          attributes: true,
          classes: true,
          styles: true
        }
      ]
    }

Can someone confirm this?

Actions #1

Updated by Chris Müller 5 months ago

  • Status changed from New to Needs Feedback
Actions #2

Updated by Andreas Krämer 4 months ago

Thank you @Chris Müller, yes, this helps!

My configuration was incorrect, but it still worked with TYPO3 12.4.8 and the default configuration from the Base.yaml.
It would be correct like this:

htmlSupport:
  allow:
    - { name: { pattern: '.*' }, classes: true, attributes: true, styles: true }

But of course, this should be configured more restrictive like described in your link.

Ticket can be closed.

Actions #3

Updated by Torben Hansen 4 months ago

  • Status changed from Needs Feedback to Closed

Closing issue on request

Actions

Also available in: Atom PDF