Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Button: Add theme.json support for toggling Width settings panel #42079

Open
wants to merge 1 commit into
base: trunk
Choose a base branch
from

Commits on Jul 7, 2022

  1. Button: Add theme.json support for toggling Width panel

    This allows theme developers to manage support for the Width panel on the Button block using theme.json. We toggle visibility for the panel in Button's edit component using useSetting to grab the new setting. Appropriate entries have been added for the new setting to both the theme.json schema as well as the core-blocks and theme-json-living documentation.
    
    Fixes WordPress#38767. See WordPress#19796
    roseg43 committed Jul 7, 2022
    Configuration menu
    Copy the full SHA
    b01cbed View commit details
    Browse the repository at this point in the history