Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
sunwayru opened this issue Mar 12, 2023 · 2 comments
Open

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

sunwayru opened this issue Mar 12, 2023 · 2 comments
Labels
accessibility Issue related to accessibility. plugin:richcombo The plugin which probably causes the issue. plugin:stylescombo The plugin which probably causes the issue. status:confirmed An issue confirmed by the development team. type:bug A bug.

Comments

@sunwayru
Copy link

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;}

@sunwayru sunwayru added the type:bug A bug. label Mar 12, 2023
@Comandeer Comandeer added status:confirmed An issue confirmed by the development team. plugin:stylescombo The plugin which probably causes the issue. accessibility Issue related to accessibility. plugin:richcombo The plugin which probably causes the issue. labels Mar 12, 2023
@jacekbogdanski
Copy link
Member

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

@sunwayru
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
accessibility Issue related to accessibility. plugin:richcombo The plugin which probably causes the issue. plugin:stylescombo The plugin which probably causes the issue. status:confirmed An issue confirmed by the development team. type:bug A bug.
Projects
None yet
Development

No branches or pull requests

3 participants