gutenberg
gutenberg copied to clipboard
Block Gap gets flushed out for Group Block in Global Styles
Description
Value passed to Block Gap control flushing out for Group Block in Global styles on Save.
Step-by-step reproduction instructions
- Backend > Appearance > Editor.
- Click on 'Styles' icon next to 'settings' on top right corner.
- Go to 'Blocks'.
- Select 'Group' block.
- Select 'Layout'.
- Try changing 'Block spacing' value.
- Save.
Screenshots, screen recording, code snippet
https://vimeo.com/697832273/694b8efd50
Environment info
- WordPress: 5.9.3
- Google Chrome: 100.0.4896.75
- System Configuration: Mac with Apple Silicon running on macOs Monterey 12.3
Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Yes
Hi @ramizmanked, thanks for reporting. I just tested this in WordPress 6.2 RC2 and was not able to replicate the issue. Setting block gap in Global Styles correctly applies the spacing globally, so I am guessing something was fixed in the last few months. If you continue to experience issues, please feel free to reopen this issue. Thanks!