You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Spacing block support has support for both padding and margin independently; it is possible for a theme to opt in to only one or the other. Currently the UI for both is displayed as long as the block supports that feature, and the theme supports either feature.
Step-by-step reproduction instructions
To test, you need a block that supports both padding and margin. Update the block.json for the Site Title block to include:
Description
The Spacing block support has support for both padding and margin independently; it is possible for a theme to opt in to only one or the other. Currently the UI for both is displayed as long as the block supports that feature, and the theme supports either feature.
Step-by-step reproduction instructions
block.json
for the Site Title block to include:Expected behaviour
The Spacing panel should be present, but only the Padding controls should render.
Actual behaviour
The Padding and Margin controls display.
WordPress information
Device information
The text was updated successfully, but these errors were encountered: