You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
Currently, defaultBlockSpecs has heading, paragraph, bulletListItem, numberedListItem, image and table. So, when a editor is rendered, one can choose any of these blocks. But it would be great to provide ability to exclude some of the default blocks. For example, exclude the image block. A user should not be able to use an image block.
Describe the solution you'd like
Haven't thought. Let's discuss and deduce a solution.
Describe alternatives you've considered
Tried the schema with excluded image block in defaultBlockSpecs but it didn't work.
Additional context
None
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
Currently,
defaultBlockSpecs
has heading, paragraph, bulletListItem, numberedListItem, image and table. So, when a editor is rendered, one can choose any of these blocks. But it would be great to provide ability to exclude some of the default blocks. For example, exclude the image block. A user should not be able to use an image block.Describe the solution you'd like
Haven't thought. Let's discuss and deduce a solution.
Describe alternatives you've considered
Tried the
schema
with excluded image block in defaultBlockSpecs but it didn't work.Additional context
None
The text was updated successfully, but these errors were encountered: