WordPress.org

Make WordPress Core

Opened 3 months ago

Closed 3 months ago

Last modified 4 weeks ago

#51187 closed feature request (reported-upstream)

Feature Request: Block Editor shortcuts

Reported by: courane01 Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Editor Keywords:
Focuses: Cc:

Description

When we type / in to the post editor, frequently used blocks are displayed. Typing /hr results in a horizontal line block.

Proposal: extend this to include specific headings, such as typing /h2, /h3, etc resulting in the appropriate heading block.

Change History (4)

#1 @SergeyBiryukov
3 months ago

  • Component changed from Formatting to Editor

#2 @sabernhardt
3 months ago

  • Resolution set to reported-upstream
  • Status changed from new to closed

@courane01 Thanks for the suggestion!

This issue covers adding those heading shortcuts to the block editor:
https://github.com/WordPress/gutenberg/issues/7438

If you want a shortcut to use now, the markdown-style with hashes currently works:

  • Typing ## (two hashes) plus a space at the beginning of a paragraph block converts it to a heading block with h2 level.
  • Similarly, typing 3-6 hashes plus a space creates lower-level heading blocks.
  • For level 1, you could use the hash to create switch the block type at a lower level and then adjust the level.

Please feel free to continue the discussion on the GitHub issue.

#3 @desrosj
2 months ago

  • Milestone Awaiting Review deleted
  • Version 5.5 deleted
Note: See TracTickets for help on using tickets.