Skip to content

Allow disabling togglable elements #1816

Closed
@ClementEXWiki

Description

@ClementEXWiki

Is your feature request related to a problem? Please describe.
Our current usage for BlockNote is to edit and render Markdown (GFM) documents. As GMT doesn't natively support togglable elements (and we don't support HTML), we'd like to remove the support for togglable elements.

For togglable list items, it's easy: we just pick them out of the schema. But for togglable headers, it's more complicated.

Describe the solution you'd like
Add an option (in the schema maybe? or in the editor's options?) to disable the ability to create togglable headings, etc.

Describe alternatives you've considered
N/A

Additional context
N/A

Bonus
[ ] I'm a sponsor and would appreciate if you could look into this sooner than later 💖

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions