Skip to content

Connect "Section Styling" with "Pattern Overrides"/ "Content Only" locking #62078

Closed
@fabiankaegy

Description

Section Styling/Colorways is a really powerful new feature getting introduced in WordPress 6.6. Currently, it allows users to switch between the different available options via the styles Inspector Controls options.

At this point, any controls rendered inside any Inspector Controls are not accessible for a block that has contentOnly locking applied, which is also the mode used by pattern overrides.

From my understanding, the goal of contentOnly locking was to provide a simplified editing experience where a user doesn't have to think about composing blocks and configuring all the options. Instead, users can only enter content / configure very basic options.

To me, this goal would extend to switching between different color variations of a contentOnly locked area if the wrapper block that has the locking applied supports any section styles.

Because of that, I propose we combine these features and expose the "Styles" switcher for the top-level block that has content-only locking applied.

Metadata

Assignees

No one assigned

    Labels

    [Feature] Block LockingThe API allowing for the ability to lock/unlock blocks[Feature] Design ToolsTools that impact the appearance of blocks both to expand the number of tools and improve the experi[Feature] ExtensibilityThe ability to extend blocks or the editing experience[Feature] PatternsA collection of blocks that can be synced (previously reusable blocks) or unsynced

    Type

    No type

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions