ckeditor / ckeditor4

The best enterprise-grade WYSIWYG editor. Fully customizable with countless features and plugins.
https://ckeditor.com/ckeditor-4
Other
5.78k stars 2.46k forks source link

In StylesSet first element look like it has already been applied #5443

Open sunwayru opened 1 year ago

sunwayru commented 1 year ago

In the StylesSet, when drop-down is opened, the first element look like it has already been applied.

You can see it on https://ckeditor.com/docs/ckeditor4/latest/examples/styles.html If i set focus on H1, in StylesSet first style "Italic" look like it has already been applied.

It should be fixed in /ckeditor/skins/mono-lisa/editor.css adding .cke_panel_listItem a:focus{background-color: transparent !important;}

jacekbogdanski commented 1 year ago

We could change combo box item outline to blue, similarly how it was done for color buttons:

image
sunwayru commented 1 year ago

yes, the first style should not look exactly the same as the chosen style - otherwise it is confusing