-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
The strikethrough icon is intriguing #910
Comments
Related: #908 |
The problem with the letter "S" is that when crossed, it starts looking complex. It's hard to tell what it represents unless the actual shape of the letter is much thicker than the line used to cross it (v4). This, however, is impossible with our current icon styles because a thick line is reserved exclusively for bold. So in the process of refactoring the theme, we decided to go with "T" which is:
|
Maybe it is more complex, but on the other hand, it is something that everyone is used to and everyone seeks it.
I don't get it. Everyone knows a crossed letter when they see it. Unless the whole shape starts to look like something else and makes you wonder, like with crossed "T" we have now.
Maybe, probably yes. Maybe we could add some little spacing between the crossing line and the letter? So the line does not touch the letter.
T is not much simpler as a shape. Everything, when crossed, will get "complex". "I" crossed would be quite a simple shape, and still you would have no clue what the heck this "plus symbol" is doing there. It can be complex, as long as it conveys the message. The current solution is less complex but gives you no clue. Please, let's have a discussion about it, cause I find current button disturbing and it appeared that it's not only me. |
I like LibreOffice solution because for every option there's the same letter, so you can deduce the effects by comparing buttons when they are next to each other. I hope you know what I mean. (Edit: I mean I like it conceptually. It doesn't look good, I mean, it is not beautiful). |
Yeah, I know, I linked to that ticket already: #910 (comment) |
It was "S" (not polished at all) before "T": https://github.com/ckeditor/ckeditor5-basic-styles/blob/39cbe97a326ff3157770747a33048d664c4fdec1/theme/icons/strikethrough.svg. But Szymon good mentioned Google Docs sample, we can try to get rid of the bottom spacing in crossing line, I'll try that and propose something. |
The |
Love it already, any of the options above. |
Could we try an option that has vertical spacing, not a horizontal one? So the "S" shape is kept together? Though it could look like the strike is "behind" a letter, but maybe it would be more readable? Also, we could try with less "curvy" S (so together with strikethrough it does not look like 8 or link icon (not our link icon, but with something that could resemble a link icon)). |
@scofalik Idea of the strike "behind" a letter is good, but the icon is too small to show details and keep spacings. About less curvy S letter - take a look at the proposal, it's not fitting to the current icon set in v5. Anyway, let's wait for more feedback. |
It seems a bit out of place this way. I imagined it differently. And the spacing would have to be, you know, in a shape of S letter. Now, these are just two dashes. But I don't know if it would be better -- the letter does not look stricken. |
Agree. Although, IMO the line is a bit too low. In the last proposal (#910 (comment)) it seems to be higher. |
Even better. It's not only clear (although... I think that it's slightly less clear than @dkonopka's proposal above) and well shaped now, but additionally – it looks fresh. |
In this icon "S" is above "–". I believe this is not how strikethrough works. |
In the same way as chain's link doesn't look like a pill with a dash inside from any angle. This is a pictogram and the question is whether S over a line is clear to potential users. I certainly agree that it's further from reality than when a line is "over" the S, though. But, for me, the advantage of Olek's proposal is its lightness and freshness. The question is whether the icon still remains clear enough. |
Hmm, actually nope. It looks like it works for underline atm. https://developer.mozilla.org/en-US/docs/Web/CSS/text-decoration-skip-ink Anyway for me it's acceptable. |
Maybe a vertical line then? $ Just . TBH, this is how I've seen it, Olek. I am not sure if it conveys the message, though :(. |
I proposed the "modern" on and voted for "default", so I guess it tells a lot :) |
I guess we have a winner :D @dkonopka, could you create a PR so we can still close it in this iteration? |
Other: Improved the "strikethrough" icon. Closes ckeditor/ckeditor5#910.
Bold, Italic, Underline, Strikethrough = B, I, U, S
T?
Now let's check CKEditor 4...
T is already used for removing formatting.
Even if T is used in some applications for striked text (though I find S to be more common, see. e.g. Google Docs), I believe that having an older editor where T was used for a completely different purpose is quite an important factor we should consider when offering UI to the end users.
The text was updated successfully, but these errors were encountered: