-
Notifications
You must be signed in to change notification settings - Fork 121
How to implement keyboard shortcuts for changing heading levels #129
Open
Description
I would like to allow users to change the heading level directly via keyboard shortcuts (e.g. CMD+ALT+1 for H1, CMD+ALT+2 for H2, etc.).
EditorJS has a shortcut option in the tools configuration, but it only allows defining a shortcut to insert a header block, not to change its level once it is already inserted.
Is there an official or recommended way to bind keyboard shortcuts to heading level changes in EditorJS?
If this is not currently supported, would it be something that could be added to the plugin?
Metadata
Metadata
Assignees
Labels
No labels
Type
Fields
Give feedbackNo fields configured for issues without a type.