Skip to content
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

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

Closed
bozzmedia opened this issue Dec 9, 2022 · 3 comments
Closed

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

bozzmedia opened this issue Dec 9, 2022 · 3 comments

Comments

@bozzmedia
Copy link

bozzmedia commented Dec 9, 2022

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/

@Saoming
Copy link

Saoming commented Dec 9, 2022

I want to do this.

@mtias
Copy link
Member

mtias commented Dec 9, 2022

This was added in #44681.

@mtias mtias closed this as completed Dec 9, 2022
@bozzmedia
Copy link
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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants