Review main Merged

80152[BUGFIX] Properly evaluate selected class in BrowseLinksController

Oli Bartsch CR +2 V +2 Easy +17 −5 updated 07/28/23, 19:32

Commit message

Generally, adding a class to a link in CKeditor is done
via the corresponding link browser (BrowseLinksController),
which renders a select field with a list of allowed classes
(as configured). However, CKeditor  also automatically applies
a so called "highlighting class" to a link. Furthermore
it's always possible to manually set additional classes
via the "Source" view mode. To be able to properly resolve
an actually selected (allowed) class for the select field,
the current link class value is now cleanup up before
markup generation takes place in the BrowseLinksController.

Review

  • Code review CR +2

    Imported before Forger kept the single votes, the next import adds them.

  • Verified V +2

    Imported before Forger kept the single votes, the next import adds them.

Issues 1

Files 1