Skip to content

FSE: Group block: Pass "inherit layout" to child blocks #29983

@scruffian

Description

@scruffian

What problem does this address?

The previous way that themes styled group blocks was that all group blocks would inherit the default layout. Since #29335 this can now be achieved by setting "Inherit default layout" on the group block.

What is your proposed solution?

If a group block opts in to "Inherit default layout", users would probably expect this behaviour to be inherited by children of that block.

Another option is to have all group block enable "Inherit default layout" by default.

A third option is to make it possible to opt in to this rule in theme.json.

cc @youknowriad

Metadata

Metadata

Assignees

No one assigned

    Labels

    [Block] GroupAffects the Group Block (and row, stack and grid variants)

    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