Bug #90369
openChanging the href with the link Wizard when the a tag has multiple classes replace the link text with the href
0%
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
Files
Updated by Nikita Hovratov almost 5 years 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?
Updated by Rachel Foucard almost 5 years 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
Updated by Susanne Moog over 4 years ago
- Category set to RTE (rtehtmlarea + ckeditor)
Updated by Andreas Kienast over 4 years ago
- Status changed from New to Needs Feedback
I fail to reproduce the issue.
- Does this issue still occur in the current version?
- Could you please provide a screencast that reveals the issue?
Kind regards
Andreas
Updated by Rachel Foucard over 4 years ago
- File screen-01.PNG screen-01.PNG added
- File screen-02.PNG screen-02.PNG added
- File screen-03.PNG screen-03.PNG added
- File screen-04.PNG screen-04.PNG added
Hi Andreas,
Sure, here is a RTE with a link button (from bootstrap package configuration) :
You can see that we have 2 classes : btn and btn-primary in the a tag :
If I modify the link with the wizard:
Then the all a tag is replaced with the src value :
Tested today with a 9.5.14 version.
Cheers,
Rachel
Updated by Riccardo De Contardi over 4 years ago
- Status changed from Needs Feedback to New