-
Beta Was this translation helpful? Give feedback.
Answered by
petyosi
Aug 30, 2023
Replies: 1 comment
-
That's a great practical suggestion - thank you very much. I just published v0.17.0. Now, the Please let me know if the above works for you. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
sp88011
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
That's a great practical suggestion - thank you very much.
I just published v0.17.0. Now, the
headingsPlugin
acceptsallowedHeadingLevels
configuration parameter, which lets you limit the headings allowed. This parameter affects theBlockTypeSelect
component and the markdown / google docs-like keyboard shortcuts. Of course, if you allow source mode, the user will still be able to insert a non-allowed heading directly, but I assume this is not what you're after anyway.Please let me know if the above works for you.