Block API: Can't restrict where a block may be inserted using parent
#23227
Labels
[Feature] Block API
API that allows to express the block paradigm.
[Status] In Progress
Tracking issues with work in progress
[Type] Bug
An existing feature does not function as intended
Describe the bug
Third parties are no longer able to make it so that a child block C can only be added to specific parent block P while also allowing P to have non-C blocks added to it.
To reproduce
Paste the following snippet into the DevTools console:
Snippet
Expected result
The Paragraph, Image and Add to Cart blocks should appear in the Inserter.
Actual result
Only the Add to Cart block appears in the Inserter.
Additional context
This functionality was introduced in #6753.
The text was updated successfully, but these errors were encountered: