Open iansvo opened 2 weeks ago
Global Styles (and our local styles) currently don't support the widget area.
You can see how we get settings here: https://github.com/tomusborne/generateblocks-pro/blob/release/1.8.0/src/global-classes/hooks/useGetSettings.js
We should likely not show the UI/show a message instead until we're able to support it.
Description
If you add a global style to a block that is in a widget area (i.e. widgets.php) and then attempt to edit it, the snackbar notice shows but the sidebar doesn't update to show you to EditClass panel.
Steps to reproduce
Expected behavior
Sidebar should show the standard EditClass component with global style controls.
Actual behavior
Snackbar notice says "editing X..." (where X is the classname) but nothing happens in the sidebar.