Make BlockManager filterable #15265
Labels
[Feature] Extensibility
The ability to extend blocks or the editing experience
[Package] Components
/packages/components
[Type] Enhancement
A suggestion for improvement.
Is your feature request related to a problem? Please describe.
In our project we have some blocks that are absolutely crucial to editing a specific custom post type.
The BlockManager allows disabling all blocks, including the crucial ones. Doing so would lead to unexpected behavior.
Describe the solution you'd like
There should be a way to prevent individual block types from being disabled in the block manager.
In addition to that, or as an alternative, there could be a way to completely disable the block manager.
If you have a custom post type with only two registered custom block types that are crucial to editing the post, it makes no sense to offer the block manager at all.
Describe alternatives you've considered
Hiding the block manager or individual blocks in the block manager via CSS is the only possible alternative I see at the moment. Which is not a good alternative IMO.
The text was updated successfully, but these errors were encountered: