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?
I would like to allow users to change the heading level directly via keyboard shortcuts (e.g.
CMD+ALT+1for H1,CMD+ALT+2for 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?