[wp-trac] [WordPress Trac] #54100: Hotkeys for Headings

WordPress Trac noreply at wordpress.org
Fri Sep 24 17:57:01 UTC 2021


#54100: Hotkeys for Headings
-------------------------+--------------------------------
 Reporter:  immwac       |       Owner:  (none)
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Editor       |     Version:
 Severity:  normal       |  Resolution:
 Keywords:               |     Focuses:  ui, accessibility
-------------------------+--------------------------------

Comment (by ryokuhi):

 Hello @immwac,
 we reviewed this ticket during last week's Accessibility Team's bug scrub.
 Since you're talking about converting paragraphs to headings, I assume
 you're using the Block Editor (Gutenberg).

 * As pointed out by @ sabernhardt, you can use a number of hash symbols
 (#) equal to the heading level you want, followed by a space: you can use
 this option to create a new heading block from scratches or even add it at
 the beginning of an existing paragraph block to convert it. E.g. `### `
 creates an `h3` element.
 * Also, you can create a new heading block by typing `/hn` (where ''n'' is
 the heading level you want to have), followed by the `Enter` or `Return`
 key. E.g. typing `/h3` creates a level 3 heading block.
 * In case you're using the '''Classic Editor''' instead (based on
 TinyMCE), you can press `Alt` + `Shift` + `n` (where ''n'' is the number
 key corresponding to the heading level you want to have). E.g. `Alt` +
 `Shift` + `3` creates an `h3` element.

 It's my opinion that the existing shortcuts are more than enough, at least
 for converting paragraphs into headings.
 Also, while hotkeys are a nice addition as they can speed up work, having
 too many of them will probably make it easier to confuse them: I think
 that adding another shortcut might be more harmful than beneficial.

 If you still think that the existing shortcuts are not enough or you think
 that other shortcuts should be added, feel free to add your suggestions
 here, specifying which key combination should be pressed to convert a
 specific block into another.

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


More information about the wp-trac mailing list