Can you use Keyboard Shortcuts for the Rich Text Editor?

4 replies
Last updated: Dec 22, 2021
Is there any way to use keyboard shortcuts for the rich text editor? I can’t for example be able to add an h2 using cmd + option + 2, as I can in Google Docs and in Contentful
Dec 22, 2021, 1:54 PM
We don't currently have any keyboard commands for the Editor, unfortunately.
Dec 22, 2021, 4:11 PM
Alright, no worries. Is this something you are planning on adding or something that I can implement myself somehow?
Dec 22, 2021, 4:22 PM
It is something on our minds but no concrete plans for adding it now. It is a bit of a nontrivial task.
Dec 22, 2021, 4:32 PM
Do share if you manage to implement it, though! It would be exciting to see.
Dec 22, 2021, 4:32 PM

Sanity.io – build remarkable experiences at scale

Sanity is a customizable solution that treats content as data to power your digital business. Free to get started, and pay-as-you-go on all plans.