Global Styles: Reset to defaults action is not working #46484
Labels
Global Styles
Anything related to the broader Global Styles efforts, including Styles Engine and theme.json
[Type] Regression
Related to a regression in the latest release
Description
In
trunk
, within global styles, theReset to defaults
action appears not to be working. From running agit bisect
, it appears that the change that introduced the regression was #44770 (the PR that introduced the new browse mode).Kudos @tellthemachines for flagging the issue!
Step-by-step reproduction instructions
On
trunk
, open up global styles in a site that has user styles, and attempt to reset the global styles back to the theme defaults. As of #44770, it appears that the drop-down control to reset to defaults no longer works.For a commit that still works (e.g. prior to #44770) you can checkout 51f0b77, or really any prior to #44770.
Screenshots, screen recording, code snippet
trunk
Environment info
trunk
Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Yes
The text was updated successfully, but these errors were encountered: