-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Need of TextColor for inline formatting (single words/characters) #6080
Comments
Hi @burnuser, Thanks for the suggestion! This sounds like a great idea for a plugin to me. |
@danielbachhuber this is already possible right now in WordPress with the existing post editor. |
Ah, you are correct:
Gutenberg won't totally replicate the Classic Editor. However, the breaking changes should be documented at the very least. See #4186 #4190 Flagging this as |
It should be noted that However, Classic blocks containing paragraphs, lists, and blockquotes with these inner formatting options have them removed when the "Convert to Blocks" setting is used. See #6102. |
I think this could be a good option but it would have to for me reuse the background and text color settings, not add new. Maybe it's when highlighted those then apply to the highlighted text. |
@karmatosed That is an interesting idea. The biggest issue I see with that approach is showing the user how the control acts differently depending on whether you have anything selected or not, in addition to the fact that no other block inspector option acts differently depending upon whether you have certain content within a block selected or not. I just came up with my own idea. Why not add a 3rd tab to the default sidebar for inline formatting of the current selection? Here is a quick mockup I made: |
@SuperGeniusZeb interesting idea but I think adding a tab just for this probably isn't the simplest route. I think simply have when you highlight a section of text the 'text color' allows you to change that and background allows you to also change that as long as it's highlighted. We may need to explore how discoverable this is. If it's not discoverable we can add a section to the 'Color Settings' over adding a new tab to the top level. |
@gziolo that would be great. This really does seem like something people want and I would say it's a good to functionality to look into. |
Consider that the paragraph block will be the most common block. Hence, we need a very functional paragraph block. In a similar vein, it's impossible to specify a different size for select text within a block. |
I rather like Gutenberg overall.I have been using it for a week or so and the block functions are a true advancement. I understand that the present iteration is not the final product. I have been "limping" along trying to acquaint myself with it. However, I will dislike Gutenberg greatly if most core functions of the existing editor are dropped. ESPECIALLY if the use of G. will REPLACE or eliminate inline formatting in existing posts when re-edited using G. |
I agree with @RayWaldo comment about liking Gutenberg overall BUT this is pretty much a "deal breaker" for me. I've just recently finished converting a few sites from Joomla to Wordpress as the users that manage the sites (local clubs) find Wordpress easier. |
Not being able to highlight and color text is annoying and would be worse for the average user. I see no issue with the entire paragraph changing color when nothing is highlighted, and when text is highlighted, only the highlighted text would be colored, using the same "Text Color" area in the sidebar for both. It seems to me this would be completely expected behavior. Yes, text color is available in the "Classic" block, but:
Tiny usability things like this may seem small but they're a big deal to clients. |
The plugin Advanced Rich Text Tools will now add inline text and background color controls. |
Thank you Ella, installed and did a very brief test and can now colour words as needed, yay |
@iseulde, thanks for sharing this plugin. It uses new Format API to implement all format controls, including text color for individual characters and resolves the issue 🎉 |
Yay! Thank you @iseulde ! |
No option to change text color anywhere in Gutenberg. It happens with titles. |
I've recently added text highlighting color options on EditorsKit plugin ( https://wordpress.org/plugins/block-options/ ) and I hope this solves this problem. Here's how my implementation works : |
In the moment, text color is a formatting option which can only used for a whole paragraph.
For myself I used text color many times, but only to emphasize single words or characters for special attention, mark as changed, mark as different, ...
(But I never used it for a whole paragraph.)
As you integrated text color in formatting of paragraphs, you agree, that text color is a useful formatting tool. So I suggest, to make text color an inline formatting option like Bold and Italic (at least for Paragraph, List and Quote blocks) instead or additional to the existing Paragraph block option.
The text was updated successfully, but these errors were encountered: