Project

General

Profile

Actions

Bug #99738

closed

Epic #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

Added by Alex Kellner over 1 year ago. Updated 7 months ago.

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.


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Task #102126: Document usage of "htmlSupport" option in EXT:rte_ckeditorClosedChris Müller2023-10-09

Actions
Actions

Also available in: Atom PDF