Add ability to restrict block to only be used once within inner blocks area #38958
Labels
Developer Experience
Ideas about improving block and theme developer experience
[Feature] Block API
API that allows to express the block paradigm.
[Feature] Nested / Inner Blocks
Anything related to the experience of nested/inner blocks inside a larger container, like Group or P
[Type] Enhancement
A suggestion for improvement.
[Type] New API
New API to be used by plugin developers or package users.
What problem does this address?
Gutenberg currently allows you to mark a block so that it can only be allowed once per page. Which is very useful. However there are instances where you may want to allow a block to be used multiple times within the page but only once within a certain section.
If you for example have a "Navigation" block that it would be nice to only allow the "Login" button once per navigation. But still allow multiple navigation blocks per page.
What is your proposed solution?
I'm not sure what the best API for it would be. But somehow allowing a block to only be used once within a certain context that is different to the entire page.
The text was updated successfully, but these errors were encountered: