Closed
Description
openedon Sep 24, 2022
Description
- Original trac ticket: https://core.trac.wordpress.org/ticket/56644 by @jorgefilipecosta
- Moving here along with some added visuals to help out better understand the issue.
- I could reproduce it with multiple blocks like
paragraph
,heading
,button
,site title
, etc. It doesn't seem to be happening with all of the blocks, though. - The issue isn't specific to only colors. It's happening with other properties of a block too.
- Block-specific global styles don't seem to save. Changing the global styles not under the
Blocks
section still works. - Was able to reproduce with both TT2 and TT3 themes.
Step-by-step reproduction instructions
Copy pasting from the trac ticket,
- Go to the site editor.
- Open the global styles sidebar.
- Open the blocks section.
- Navigate to the paragraph block (or button, heading, etc, I think most static blocks).
- Apply a background color.
- Save the global styles.
- The background color is wholly discarded on save.
Screenshots, screen recording, code snippet
wp6.1-global-styles.mov
Environment info
- WP(6.1-beta1-54298)
- TT2 or TT3 theme
- PHP 7.4
- Gutenberg plugin deactivated
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment