Bug #102488
closedEpic #99669: CKEditor5 Collection
CkEditor on TYPO3 12.4.2 does not allow <i/>-Tag for FontAwesome Glyphs
0%
Description
I've migrated a TYPO3 Site to TYPO3 12.4.2 and I need to preserve the functionality of FontAwesome Glyphs which are in the RTE-HTML.
Existing (migrated) Glyphs are embedded like this:<em class="fa-user-headset far"></em>
The new CkEditor-Plugin I'm trying to use inserts this Markup (but I also could switch it to i):<i class="fa-user-headset far"></i>
What happens:
I've tried to configure CkEditor using YAML to accept that Tag, but nevertheless what I'm trying it's always removed immediately after it has been inserted using either CkEditor-Plugin or manually using HTML-Source editing.
If I'm manually editing this HTML-Markup (using HTML-Source):<i class="fa-user-headset far"> M</i>
The tag immediately removed (after switching back from Source-Edit to RTE-View).
If I'm manually editing this HTML-Markup (using HTML-Source):<i class="fa-user-headset far">X</i>
It results into this, whereas the tag isn't removed, but the class attribute is missing.<i>X</i>
Due to testing to get it working I had this RTE-YAML config settings.
Of course I also switched the RTE-Preset config to use my own sitepackage RTE-Config.
imports: - { resource: "EXT:rte_ckeditor/Configuration/RTE/Processing.yaml" } - { resource: "EXT:rte_ckeditor/Configuration/RTE/Editor/Base.yaml" } - { resource: "EXT:rte_ckeditor/Configuration/RTE/Editor/Plugins.yaml" } processing: allowTags: - i allowAttributes - class HTMLparser_db: denyTags = img tags: i: allowedAttribs: ['class']
But all these settings still won't result into a working behaviour. I've been fiddling and researching the internet now for nearly one working day without progress.
Is this a bug or is there missing something in RTE/YAML Configuration?