-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Spacing: Spacing Sizes are added #55636
Comments
I can confirm this is happening. My Powder theme sets Spacing presets (xSmall, Small, Medium, Large, xLarge) with the following, but numbers are being added per the video below. The slider no longer exists, rather a drop down menu.
Screen.Recording.2023-10-26.at.1.16.00.PM.mov |
From the screenshot of theme.json, It does not look like you have disabled the default sizes by adding
Do I understand correctly that you are experiencing that this is a change from previous WP or Gutenberg versions? |
Thanks @carolinan - this has solved the issue!
Yes, defining the spacingScale was not necessary in previous versions. I leave this issue open to clarify if this is intended or a bug. |
I would expect the disabling to use the same format as colors:
|
@carolinan Thanks for calling that out. I’ll have to go back to my commits in Powder because I swear I had that code in my theme.json file. Nonetheless, I have added it to the theme and no longer am experiencing the issue. |
Just bumping this. I noticed the same thing. a boolean to toggle off the default spacing scale would be excellent. maybe |
I am no longer able to reproduce this. |
Description
Spacing sizes are getting added to the list, even though I have defined different ones in my theme.
This seems to happen to any theme that does not have
1
,2
,3
… defined as spacing size.Step-by-step reproduction instructions
Screenshots, screen recording, code snippet
Environment info
Please confirm that you have searched existing issues in the repo.
No
Please confirm that you have tested with all plugins deactivated except Gutenberg.
No
The text was updated successfully, but these errors were encountered: