Actions
Bug #102053
openEpic #99669: CKEditor5 Collection
ckeditor - fixAttrib.class.default of A-link not applied when link is inside a list element
Status:
New
Priority:
Should have
Assignee:
-
Category:
RTE (rtehtmlarea + ckeditor)
Target version:
-
Start date:
2023-09-27
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
11
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
Hi,
this is a follow up to this old closed issue : #92756
When I set this in YAML, the class is not applied to the <a> tag inside an <li> one :
processing:
HTMLparser_db:
tags:
a:
fixAttrib:
class:
default: external-link
I've simply fixed this by adding "ul" to the switch/case test of block elements in TYPO3\CMS\Core\Html\RteHtmlParser::TS_transform_db
I don't know if it's the right way, please find the attached patch to review.
Files
Actions