Skip to content

Option to make AllowedBlocks setting recursive #72803

@eric-michel

Description

@eric-michel

What problem does this address?

There have been times when I wanted to add a block with InnerBlocks, and restrict all children of that block to the same AllowedBlocks as the parent.

What is your proposed solution?

Create an extra argument we can pass when setting AllowedBlocks to make that setting recursive to other InnerBlocks within the parent block.

I looked to see if someone else had requested this and was surprised to not find any threads. If there are other requests, please let me know and I'll remove this one.

Metadata

Metadata

Assignees

No one assigned

    Labels

    [Feature] Block APIAPI that allows to express the block paradigm.[Type] EnhancementA suggestion for improvement.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions