Stylebook: editing any Global Class throws ReferenceError
-
Since updating to 13.1.1, opening the Stylebook and editing any Global Class shows “This block has encountered an error and cannot be previewed”. The browser console shows
ReferenceError: none is not defined, thrown from the Global Class editor renderer inbuild/gspbLibrary.js. The control sets a JSX style withbackground:none(unquoted), so JS evaluatesnoneas an undefined variable. It should be the stringbackground:"none". It affects every global class (even ones with nononevalue). 13.0.0 does not have this code and works fine. Repro: WP + Greenshift 13.1.1 → Stylebook → edit any global class.
You must be logged in to reply to this topic.
