-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Fonts setting should not be toggling options #584
Comments
While fixing this we need to preserve the old functionality, I mean being able to remove the font setting. It can be done by adding an extra option like I'm not sure though how it will feel for the most users, so we should discuss this part. |
OK as for removing the font, let's simply add a "Default" entry at the beginning of the dropdown. [Discussion] Default Option VisibilityThis entry should not be displayed if there's no font selected. But it should be visible when the font size is selected. [Discussion] Default Option VisualsI think it would be a nice addition to make it somehow visually distuingishable, just because how it looks in case of font dropdown: I feel like marking it with italics or sth like that would improve it, and indicate a special function of this option. [Discussion] Affected DropdownsDropdown affected by this change should be "Font Name", "Font Size" and "Paragraph Format" but no styles combo. Paragraph FormatParagraph format shouldn't get a "Default" option as there already is Paragraph (or Normal (DIV) in case of enter mode div) which serves this role. Styles ComboThis dropdown is a typical multiple choice combo so it should not be affected by this change. |
+1, with remarks
This is a UX and accessibility issue. Ideally, the default option should be always there and, in the above case, we may consider marking it as the selected one.
+1 |
Agree with @fredck. I don't think that the option should disappear.
I'm afraid that this might be slightly confusing in the case of font name dropdown. Is the text italic by default? I agree that it might be good to mark this option. But, if that's possible, I'd try to avoid styling which may be conflicting with the sense of the dropdown. |
If anything, a separator could be used, not a different style, in fact. But I don't see this as essential. |
Actually per @msamsel suggestion, parenthesis does the magic here neatly. It gives a proper cue, without bloating the dropdown, see: |
To sum it up: OK as for removing the font, let's simply add a "Default" entry at the beginning of the dropdown. Default Option VisualsThe "default" option should be visually distinguishable. It should simply be wrapped with parenthesis symbols. Affected DropdownsDropdown affected by this change should be "Font Name", "Font Size" and "Paragraph Format" but no styles combo. Paragraph FormatParagraph format shouldn't get a "Default" option as there already is Paragraph (or Normal (DIV) in case of enter mode div) which serves this role. Styles ComboThis dropdown is a typical multiple choice combo so it should not be affected by this change. |
@mlewand should be there some config option which preserve old behave of those drop down lists? And if yes then which behave should be default one old or new? |
@msamsel I was mentioning config option some time ago, however I think that we will go without an option, and wait for users feedback. If our community will want to be able to disable it, we'll quickly add it in the upcoming minor release. Since this is a significant UX change we'll target it for a major release. |
Are you reporting a feature or a bug?
Feature request
Check if the issue is already reported
http://dev.ckeditor.com/ticket/16865
Provide detailed reproduction steps (if any)
Expected result
Please prevent revert font back to original font if select same font again.
Actual result
Resetting the font to original font if select font again.
Additional Information
To provide a possibility to remove the font all the way. It was specified in the comment below.
The text was updated successfully, but these errors were encountered: