Replies: 1 comment
-
|
Hey @xavortm 👋 You can ensure that a block only is available at the top level by setting the As far as post types go there isn't a clear API for this. Instead, you will need to manually maintain an allow/disallow list for post types. For the third item I don't think we have enough controls over this 🤔 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have a block named "Section" and I want that to only be allowed as a top-level block or as part of a group. I want it to only show up on the "Pages" as well. The limitation is that nesting it will cause left/right paddings that are unwanted.
The block wraps most patterns too and I don't want the users to be able to add patterns inside the "Section" block. So basically:
For 3), it can be custom validation too.
Beta Was this translation helpful? Give feedback.
All reactions