Bug #102709
closedCKEditor "General HTML Support" stopped working with 12.4.9 update
0%
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?
Updated by Chris Müller 11 months ago
- Status changed from New to Needs Feedback
Have a look at this changelog:
https://docs.typo3.org/c/typo3/cms-core/main/en-us/Changelog/12.4.x/Important-102507-DefaultCKEditor5AllowedClassesAndDataAttributesConfiguratedReverted.html
Please give feedback, if this fixes your issue.
Updated by Andreas Krämer 11 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.
Updated by Torben Hansen 10 months ago
- Status changed from Needs Feedback to Closed
Closing issue on request