Actions
Bug #101360
closedEpic #99669: CKEditor5 Collection
Some attributes for <a> element are not persisted (class, rel, target) in RTE
Status:
Resolved
Priority:
Should have
Assignee:
Category:
RTE (rtehtmlarea + ckeditor)
Target version:
-
Start date:
2023-07-15
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
12
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
Since TYPO3 v12 (ckeditor 5) some attributes for element a are not persisted.
Specifically:
- class
- rel
- target
Reproduce¶
Enter something like this in Source mode of RTE and switch to non-Source mode:
<p> <a class="hallo" href="https://sdfsfsd.de" title="hallo" target="_top" rel="nofollow">link</a> </p>
The additional attributes class,target and rel are then removed, which should not happen.
I used the following TSConfig:
RTE.default.preset = full
Actions