Issue Bug Closed

#101360Some attributes for <a> element are not persisted (class, rel, target) in RTE

Sybille Peters 07/15/23, 07:19 updated 07/09/24, 14:15

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