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
{{ message }}
Repository navigation
Underlining text using the keyboard shortcut does not work consistently in major browsers #13034
Browser IssuesIssues or PRs that are related to browser specific problems[Feature] Rich TextRelated to the Rich Text component that allows developers to render a contenteditable[Type] BugAn existing feature does not function as intended[Type] RegressionRelated to a regression in the latest release
Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
There is no option to underline text including heading. Clt + u opens source. So In order to underline every time I have to use HTML coding. Kindly provide a button for it within Gutenberg in order to improve convenience.
changed the title [-]Underlining text in firefox browser[/-][+]Underlining text using the keyboard shortcut does not work consistently in major browsers[/+]on Jan 9, 2019
However, I'd recommend to review the keyboard shortcuts for the most common formatting. Some of these shortcuts use only one modifier key and still conflict with native browsers shortcuts, preventing access to browsers features.
Also, they're inconsistent with each other and very difficult to remember, for example:
- primary + b (bold)
- primary + i (italic)
- access + x (code)
- access + d (strikethrough)
- primary + u (underline)
Image and Link are special cases, but I'd consider to make the formatting ones above use the same modifiers. Please let me know if I should create a new issue.
Browser IssuesIssues or PRs that are related to browser specific problems[Feature] Rich TextRelated to the Rich Text component that allows developers to render a contenteditable[Type] BugAn existing feature does not function as intended[Type] RegressionRelated to a regression in the latest release
Activity
anmol257 commentedon Dec 20, 2018
There is no option to underline text including heading. Clt + u opens source. So In order to underline every time I have to use HTML coding. Kindly provide a button for it within Gutenberg in order to improve convenience.
swissspidy commentedon Dec 20, 2018
Previously: #7162, #12814, #10728.
In Chrome on macOS Ctrl + U works fine, bot in Firefox it does nothing.
afercia commentedon Dec 26, 2018
On macOS the dedicated shortcut is Cmd + U, as listed in the Keyboard Shortcuts modal:
However, in Chrome it doesn't do anything, in Firefox it opens the view source. In the Classic Editor, it works. I'd call this a bug.
[-]Underlining text in firefox browser[/-][+]Underlining text using the keyboard shortcut does not work consistently in major browsers[/+]talldan commentedon Jan 11, 2019
It seems like it must be a regression since it's been audited in the past as working:
#71 (comment)
ellatrix commentedon Feb 21, 2019
This no longer works since #12249 and is now not included in Gutenberg 5.1.
afercia commentedon Feb 21, 2019
Underline has just been restored in #14008
However, I'd recommend to review the keyboard shortcuts for the most common formatting. Some of these shortcuts use only one modifier key and still conflict with native browsers shortcuts, preventing access to browsers features.
Also, they're inconsistent with each other and very difficult to remember, for example:
Image and Link are special cases, but I'd consider to make the formatting ones above use the same modifiers. Please let me know if I should create a new issue.
ellatrix commentedon Feb 21, 2019
@afercia Yes, please create a new issue. Also with detailed information about which formatting shortcuts are conflicting with the OS/browser.
afercia commentedon Feb 21, 2019
I'm afraid that would be a bit too much for me :) no bandwidth to test all supported browsers in at least the 3 major desktop operating systems.
afercia commentedon Feb 21, 2019
Created #14031. I guess this one can be closed now? Please do feel free to reopen if I'm missing something.
drewclifton commentedon Mar 14, 2019
Underline via
cmd+unot working for me today on 5.1.1 (Chrome)iamkingsleyf commentedon Apr 6, 2021
still not working
supernovia commentedon Nov 16, 2021
Just noting this isn't working in Chrome current on Mac current with command + U.