You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I'm creating a post at the moment and I've put a H2 Heading Block in the post content. I can make it bold and italic, but when I try to underline:
a) There's no option against the block
b) cmd + u/ctrl + u doesn't do anything either
To Reproduce
Steps to reproduce the behavior:
Create a new Gutenberg post in WP 5.0
Add a H2 Heading block
Type in a heading... "This is a heading block" as an example
Apply bold + attempt to apply an underline to the font
Expected behavior
I expect to be able to apply the most basic of styles to my headers? I have B, I and strikethrough as an option, why not underline?
Screenshots
To be captured!
Desktop (please complete the following information):
OS: MacOS + Windows 10
Browser: Chrome + Safari, Chrome
The text was updated successfully, but these errors were encountered:
I suspect that this is because adding underlines is something that should be added by the theme as it's such a rarely used tool. From an accessibility perspective exposing such an formatting option would be very bad as it can be easily confused with an actual hyperlink.
So this is probably more plugin territory than anything else. Plugins like https://wordpress.org/plugins/advanced-rich-text-tools/ already add more things to the formatting toolbar, so one could add an underline button to that as well.
Ahh, OK no worries - I'll get a text-decoration: underline applied to my H2's as I always use it!
I don't know I personally agree with: "From an accessibility perspective exposing such an formatting option would be very bad as it can be easily confused with an actual hyperlink." as I'm sure 99% of people are familiar with the underlined U for being underline and a chain/link icon for hyperlinks. It's the first time I've personally not seen underline in a WYSIWYG editor but hey ho!
I'll tweak my theme a little :) - thanks @swissspidy
Describe the bug
I'm creating a post at the moment and I've put a H2 Heading Block in the post content. I can make it bold and italic, but when I try to underline:
a) There's no option against the block
b) cmd + u/ctrl + u doesn't do anything either
To Reproduce
Steps to reproduce the behavior:
Expected behavior
I expect to be able to apply the most basic of styles to my headers? I have B, I and
strikethroughas an option, why not underline?Screenshots
To be captured!
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: