[wp-trac] [WordPress Trac] #51089: Classic Editor Shortcut Support in Block Editor to switch b/w <p> & headings

WordPress Trac noreply at wordpress.org
Fri Aug 28 15:15:21 UTC 2020


#51089: Classic Editor Shortcut Support in Block Editor to switch b/w <p> &
headings
---------------------------+--------------------------------
 Reporter:  onemoreprince  |       Owner:  (none)
     Type:  enhancement    |      Status:  closed
 Priority:  normal         |   Milestone:  Awaiting Review
Component:  Editor         |     Version:  5.5
 Severity:  major          |  Resolution:  reported-upstream
 Keywords:                 |     Focuses:  accessibility
---------------------------+--------------------------------
Changes (by sabernhardt):

 * status:  new => closed
 * resolution:   => reported-upstream


Comment:

 @onemoreprince Thanks for the report!

 This issue covers adding the shortcuts with numbers:
 https://github.com/WordPress/gutenberg/issues/11173

 As noted on that issue, the markdown-style shortcut 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 GitHub.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/51089#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list