Bug #90369

Changing the href with the link Wizard when the a tag has multiple classes replace the link text with the href

Added by Rachel Foucard 12 days ago. Updated 10 days ago.

Status:
New
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2020-02-13
Due date:
% Done:

0%

TYPO3 Version:
9
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

Hello,

You can reproduce the bug in a 9LTS platform, with ckeditor for instance :

  • apply multiple classes on a link (ex: btn btn-primary)
  • double click on the link to change the href with the wizard
  • change the link url

the link text is replaced by the href

Cheers,
Rachel

History

#1 Updated by Nikita Hovratov 10 days ago

I tried this, but the linktext doesn't get replaced by the href. Instead the link class just gets removed.
By changing the link url you mean the external url, right?

#2 Updated by Rachel Foucard 10 days ago

Hi Nikita,
When I try to change the url link with an external url, it replace the link text with the url, and if I test with a page link, then it replace the link text with the "t3:" code. But only if the <a> class attribute has at least 2 classes.

Cheers,
Rachel

Also available in: Atom PDF