Connect "Section Styling" with "Pattern Overrides"/ "Content Only" locking #62078
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
Labels
Type
Projects
Status
Done