Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Child blocks: Allow Restriction on Root #15733

Closed
ellatrix opened this issue May 20, 2019 · 2 comments
Closed

Child blocks: Allow Restriction on Root #15733

ellatrix opened this issue May 20, 2019 · 2 comments
Labels
[Feature] Block API API that allows to express the block paradigm.

Comments

@ellatrix
Copy link
Member

Describe the bug

Currently it's possible to restrict child blocks to specific types of blocks, but I don't think it is possible to do the same on the root. (Maybe I missed some documentation.) It would be great if this were possible.

Use case: custom "slide" post type with "slide" blocks. No other block should be inserted at the root.

@ellatrix ellatrix added the [Feature] Block API API that allows to express the block paradigm. label May 20, 2019
@youknowriad
Copy link
Contributor

I think this issue might be a duplicate

@ellatrix
Copy link
Member Author

Ah, seems like a duplicate of #7845.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Feature] Block API API that allows to express the block paradigm.
Projects
None yet
Development

No branches or pull requests

2 participants