Issue Bug Closed

#100679ckeditor drops classes set by linkbrowser if undefined

Andreas Kienast 04/20/23, 09:31 updated 07/09/24, 12:56

Description

There are currently two ways to configure link classes in ckeditor:
  • via config.stylesSet
  • via buttons.link.properties.class.allowedClasses

The latter configuration is required for use in the LinkBrowser. If the configured classes are missing in config.stylesSet, CKEditor’s behavior is undefined. In most cases, the class is dropped upon save.

Reviews 1