-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Improved shortcuts for inserting headings #7438
Comments
|
The markdown |
Exactly, they're not and once you start with the flow of using slash-commands it's awkward to jump back to other shortcuts from experience, it just feels natural to start off a new line with a "command over a secret string". |
Thank you for picking this up @Clorith It's a great feature in the current editor not to have to change controls to a mouse to convert a paragraph to a heading. The shortcuts would make it par with the old editor and help with the transition, as people won't expect that 'their' keyboard short cuts don't work anymore. |
Noting that there's an old PR that adds some shortcuts for headings. Not sure if that's something we can get rolling again as it's fairly out-of-date. I may have a look at it later this week or next week if I can. |
Thank you all for thinking through this. I opened a duplicate on this topic (#10018) when I couldn't find this relevant post. TL;DR: A blind user that uses these shortcuts in the Classic editor requested that something comparable be added to Gutenberg. |
The keyboard shortcuts for assigning heading tags should preferably be the same as other document editors i.e |
Would love to see CTRL+ALT+2 to convert to h2! |
These shortcuts are available via EditorsKit plugin: |
It’s been really long and yet we can’t change Headings with keyboard shortcuts. I’ve stopped writing articles in the Block editor entirely. It’s great for creating complex pages and layouts but terrible for writing. |
Fixed by #26597. |
In which update will this change for Headings land? The linked PR shows 9.4 but that’s already out? |
@uncertainquark 9.4 isn't out yet (the current plugin version is 9.2.2—https://wordpress.org/plugins/gutenberg/). Unfortunately this change was merged just to late for 9.3, which will be release tomorrow. It'll be in 9.4, which should be released on the 18th November. |
Nov 18 isn’t too late. :) |
Currently the
/heading
shortcut adds a H2 by default, but the flow for creating other headings is cumbersome, you either have to start using your mouse, or jump back and forth using tabs.For a good direct flow (for those who like commands over hashtags) would be to keep typing,
/heading3
(a bit wordy/convoluted) or/h3
(quick and easy) for example, although this would mean we need some way to introduce multiple shortcuts per block with the ability to tie them to attributes of that block, possibly a bit much for the first iteration, but definitely enhancements I'd love to see moving forward.The text was updated successfully, but these errors were encountered: