-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Adding spacer block in 12.3.0 fails #37758
Comments
Thanks for reporting @evaldivieso ! How strange. I was able to replicate but only with certain themes.
Adding this as a regression to be looked into further. The above was confirmed with 5.9 RC1 as well so adding to the 5.9 board. |
I think the issue was introduced by #36186. |
@annezazu, I'm not able to reproduce the issue with 5.9 RC1 if I disable the Gutenberg plugin. |
Tried on a fresh install (that never had GB installed) with RC1 and can see it works fine with 5.9 RC1 :) Have another test site that can replicate but seems to be isolated. Removing from 5.9 must haves. |
Description
Seems like the latest updates to the spacer block is causing a bug, after I applied the latest Gutenberg plugin updates (12.3.0) this week I started to see the below message after insert the spacer block:
This just started happening this week, last week I've been using the spacer block fine.
Screenshots, screen recording
2022-01-06.12-51-31.mp4
TypeError: (0,Oe.useSetting)("spacing.units").filter is not a function. (In '(0,Oe.useSetting)("spacing.units").filter((e=>"%"!==e))', '(0,Oe.useSetting)("spacing.units").filter' is undefined)
The above error occurred in the <Ah> component:
I also tried uninstalling the Gutenberg 12.3.0 plugin and installing the Gutenberg 12.2.0 and the spacer was working fine, I then updated to latest 12.3.0 version and run into the same issue.
Can someone please confirm and provide info for this issue. Thanks
The text was updated successfully, but these errors were encountered: