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
{{ message }}
Repository navigation
Block style resets doesn't work after saving and reloading the site-editor #46505
Global StylesAnything related to the broader Global Styles efforts, including Styles Engine and theme.json[Type] BugAn existing feature does not function as intended
changed the title [-]Resetting block styles doesn't work after saving and reloading the site-editor[/-][+]Block style resets doesn't work after saving and reloading the site-editor[/+]on Dec 13, 2022
I can reproduce. I’m trying to debug useStyle and it looks like that the merged config from the global styles context isn’t updated after a call to setUserconfig and is always returning whatever was saved before here.
Global StylesAnything related to the broader Global Styles efforts, including Styles Engine and theme.json[Type] BugAn existing feature does not function as intended
Activity
[-]Resetting block styles doesn't work after saving and reloading the site-editor[/-][+]Block style resets doesn't work after saving and reloading the site-editor[/+]ndiego commentedon Dec 13, 2022
This issue was reviewed in today's Editor Bug Scrub. I was able to confirm in TT3 using Gutenberg 14.7.1 and WordPress 6.1.1
talldan commentedon Dec 14, 2022
I think this was possibly fixed by #46486. I can't reproduce when testing against
trunk.ramonjd commentedon Dec 14, 2022
I can reproduce. I’m trying to debug
useStyleand it looks like that the merged config from the global styles context isn’t updated after a call tosetUserconfigand is always returning whatever was saved before here.Not sure how to ensure a full update here...
youknowriad commentedon Jul 24, 2026
Closing as likely fixed. I can't reproduce either.