Make WordPress Core

Opened 4 years ago

Closed 4 years ago

Last modified 3 years ago

#51187 closed feature request (reported-upstream)

Feature Request: Block Editor shortcuts

Reported by: courane01's profile 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 (5)

#1 @SergeyBiryukov
4 years ago

  • Component changed from Formatting to Editor

#2 @sabernhardt
4 years 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
4 years ago

  • Milestone Awaiting Review deleted
  • Version 5.5 deleted

This ticket was mentioned in Slack in #accessibility by ryokuhi. View the logs.


3 years ago

Note: See TracTickets for help on using tickets.