Skip to content
Snippets Groups Projects
Commit fdf34970 authored by Torben Hansen's avatar Torben Hansen Committed by Benjamin Franzke
Browse files

[BUGFIX] Allow multiple CSS classes in link browser again


When a link is selected in CKEditor 5, the class `ck-link_selected` is
added to the link. This caused the link browser to not show the selected class, which has been fixed with #101436. The bugfix does however not consider, that a CSS class in link browser can consist of a string with multiple classes separated by a space.

This change ensures, that the link browser again accepts a class string
containing multiple class names and shows the selected class string in
the CSS-Class select field.

Resolves: #101959
Related: #101436
Releases: main, 12.4
Signed-off-by: default avatarTorben Hansen <derhansen@gmail.com>
Change-Id: I278df61e035073a54ba176955141593c7cd9f3cf
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/81092


Tested-by: default avatarBenjamin Franzke <ben@bnf.dev>
Reviewed-by: default avatarAndreas Nedbal <andy@pixelde.su>
Reviewed-by: default avatarBenjamin Franzke <ben@bnf.dev>
Tested-by: default avatarAndreas Nedbal <andy@pixelde.su>
Tested-by: default avatarcore-ci <typo3@b13.com>
parent 9de9b692
No related merge requests found
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment