Project

General

Profile

Actions

Bug #92756

closed

RTE - fixAttrib to A-link not applied when link is inside list

Added by Andreas Moeller over 3 years ago. Updated about 2 years ago.

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


Related issues 1 (1 open0 closed)

Related to TYPO3 Core - Bug #102053: ckeditor - fixAttrib.class.default of A-link not applied when link is inside a list elementNew2023-09-27

Actions
Actions #1

Updated by Andreas Moeller over 3 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
}
Actions #2

Updated by Riccardo De Contardi about 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.

Actions #3

Updated by Christian Kuhn about 2 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.

Actions #4

Updated by Georg Ringer 7 months ago

  • Related to Bug #102053: ckeditor - fixAttrib.class.default of A-link not applied when link is inside a list element added
Actions

Also available in: Atom PDF