Skip to content

Add keyboard shortcuts for formatting text blocks, such as Headings #46444

Closed

Description

@bozzmedia

What problem does this address?

A missing feature of Gutenberg compared to Classic is the lack of certain critical keyboard shortcuts. One series of keyboard shortcuts that are missing are H1 - H6 formatting.

In Classic Editor, the keyboard shortcuts are:

Heading 1: Control + 1 (PC) or Command + 1 (Mac)
Heading 2: Control + 2 (PC) or Command + 2 (Mac)
Heading 3: Control + 3 (PC) or Command + 3 (Mac)
Heading 4: Control + 4 (PC) or Command + 4 (Mac)
Heading 5: Control + 5 (PC) or Command + 5 (Mac)
Heading 6: Control + 6 (PC) or Command + 6 (Mac)

Markdown is great when you're typing in the editor, however when formatting many blocks of text it is impractical, as is using a mouse to convert each block.

What is your proposed solution?

Add critical keyboard shortcuts to gutenberg to achieve parity with the previous editor. With one keyboard shortcut a user should be able to convert or format a text block to be H1-H6 headings. There are probably other missing shortcuts that would be similarly useful.

wp.org thread: https://wordpress.org/support/topic/keyboard-shortcut-to-convert-block-ex-paragraph-to-heading/

Activity

  1. Saoming commented on Dec 9, 2022

    @Saoming

    I want to do this.

  2. mtias commented on Dec 9, 2022

    @mtias
    Member

    This was added in #44681.

  3. bozzmedia commented on Dec 9, 2022

    @bozzmedia
    Author

    That's great to hear! Looking forward to having this ability added to core wp soon.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions