#101360Some attributes for <a> element are not persisted (class, rel, target) in RTE
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
Reviews 4
Related issues 7
- Feature #96874Integrate CKEditor 5
- Bug #100038CKeditor 5: target attribute is removed from file-links
- Bug #101205RTE Links _blank is reset on save or when second link gets set
- Bug #101338TYPO3 12 CKE Editor target not working
- Bug #101357Broken links are not marked in RTE anymore (affects linkvalidator and other extensions)
- Bug #101428Missing attributes when creating links
- Bug #101638 TYPO3 12 CKE Editor target still not working properly