Actions
Bug #99738
closedEpic #99669: CKEditor5 Collection
Story #101905: CKEditor4 to CKEditor5 Migration Issues
CKEditor 5 in TYPO3 12: New Data-Attribute is removed when the content element is saved
Status:
Resolved
Priority:
Should have
Assignee:
-
Category:
RTE (rtehtmlarea + ckeditor)
Target version:
-
Start date:
2023-01-27
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
12
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:
Stabilization Sprint
Description
In TYPO3 12 we rebuild the CKEditor Plugin in LUX. That plugin simply adds 3 data-attributes to a link tag.
In TYPO3 11 we use this settings in CKEditor.yaml:
editor: config: extraAllowedContent: 'a[data-*];'
and in addition this Page TSConfig:
RTE.default.proc.entryHTMLparser_db.tags { a.allowedAttribs := addToList(data-lux-email4link-sendemail,data-lux-email4link-text,data-lux-email4link-title,data-lux-linklistener) }
Are there any breaking changes here? Any hints?
Update: When toggling the HTML-view in CKEditor, the data-attributes are still existing - that's why I think the new problem is TYPO3 related.
Actions