Skip to content

Underlining text using the keyboard shortcut does not work consistently in major browsers #13034

Closed

Description

@anmol257

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.

Activity

  1. anmol257 commented on Dec 20, 2018

    @anmol257
    Author

    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.

  2. added
    [Feature] Rich Text
    on Dec 20, 2018
  3. swissspidy commented on Dec 20, 2018

    @swissspidy
    Member

    Previously: #7162, #12814, #10728.


    In Chrome on macOS Ctrl + U works fine, bot in Firefox it does nothing.

  4. added
    [Type] Bug
    on Dec 26, 2018
  5. afercia commented on Dec 26, 2018

    @afercia
    Contributor

    On macOS the dedicated shortcut is Cmd + U, as listed in the Keyboard Shortcuts modal:

    screenshot 2018-12-26 at 17 03 19

    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.

  6. added
    Browser Issues
    on Jan 8, 2019
  7. 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
  8. added
    [Type] Regression
    on Jan 11, 2019
  9. talldan commented on Jan 11, 2019

    @talldan
    Contributor

    It seems like it must be a regression since it's been audited in the past as working:
    #71 (comment)

  10. ellatrix commented on Feb 21, 2019

    @ellatrix
    Member

    This no longer works since #12249 and is now not included in Gutenberg 5.1.

  11. afercia commented on Feb 21, 2019

    @afercia
    Contributor

    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:

    - 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.

  12. ellatrix commented on Feb 21, 2019

    @ellatrix
    Member

    @afercia Yes, please create a new issue. Also with detailed information about which formatting shortcuts are conflicting with the OS/browser.

  13. afercia commented on Feb 21, 2019

    @afercia
    Contributor

    with detailed information about which formatting shortcuts are conflicting with the OS/browser.

    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.

  14. afercia commented on Feb 21, 2019

    @afercia
    Contributor

    Created #14031. I guess this one can be closed now? Please do feel free to reopen if I'm missing something.

  15. drewclifton commented on Mar 14, 2019

    @drewclifton

    Underline via cmd+u not working for me today on 5.1.1 (Chrome)

  16. iamkingsleyf commented on Apr 6, 2021

    @iamkingsleyf

    still not working

  17. supernovia commented on Nov 16, 2021

    @supernovia

    Just noting this isn't working in Chrome current on Mac current with command + U.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Browser Issues[Feature] Rich Text[Type] Bug[Type] Regression

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions