Actions
Bug #92756
closedRTE - fixAttrib to A-link not applied when link is inside list
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
RTE (rtehtmlarea + ckeditor)
Target version:
-
Start date:
2020-11-03
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
9
PHP Version:
7.2
Tags:
RTE, fixAttrib, TypoScript
Complexity:
Is Regression:
Sprint Focus:
Description
1. Setup the following TypoScript:
lib.parseFunc_RTE.nonTypoTagStdWrap.HTMLparser.tags.ul.fixAttrib.class {
default = myownclass
always = 1
}
2. Add the following content inside a RTE
<p><a href="t3://page?uid=1">Link number one</a></p>
<ul>
<li><a href="t3://page?uid=1">Link insude a list</a></li>
</ul>
3. Watch the results in Frontend
Expected behaviour:
The first AND the second link have an additional class "myownclass"
<p><a href="/" class="myownclass">Link number one</a></p><ul><li><a href="/" class="myownclass">Link insude a list</a></li></ul>
Actual hevaviour:
Only the first link has the additional class "myownclass"
<p><a href="/" class="myownclass">Link number one</a></p><ul><li><a href="/">Link insude a list</a></li></ul>
Version: TYPO3 9.5.22
Updated by Andreas Moeller about 4 years ago
EDIT:
Had the false tag inside my TypoScript. This is the correct one:
lib.parseFunc_RTE.nonTypoTagStdWrap.HTMLparser.tags.a.fixAttrib.class {
default = myownclass
always = 1
}
Updated by Riccardo De Contardi over 3 years ago
- Status changed from New to Needs Feedback
@Andreas Moeller Hi and sorry for this so late reply;
I have not understood whether this issue can be considered solved or is there still something that should be done.
Thank you and best regards.
Updated by Christian Kuhn almost 3 years ago
- Status changed from Needs Feedback to Closed
hey. this sounds to me as if the author already fixed the issue. i'm gonna go ahead and will close the issue for now. please create a fresh issue in case we missed something.
Updated by Georg Ringer about 1 year ago
- Related to Bug #102053: ckeditor - fixAttrib.class.default of A-link not applied when link is inside a list element added
Actions