gutenberg icon indicating copy to clipboard operation
gutenberg copied to clipboard

FSE - edited global styles not available in post editor

Open Sandstromer opened this issue 5 years ago • 2 comments

Description

With a FSE enabled theme, user edited global styles are not available in the post editor.

Step-by-step reproduction instructions

  1. Activate a FSE theme e.g. TT1Blocks
  2. Go to the Site Editor
  3. Select the Global Styles panel
  4. Rename a color, or add a new color to the color palette
  5. Click Update Design and then Save to update the global styles
  6. Exit site editor, go to edit/add new post
  7. Add any block with color controls
  8. Change the color/background of the block and notice the renamed color and/or the new color are missing
  9. Go back to Site Editor and notice how the edited global styles are present

Expected behaviour

Edited global styles should be available in the post editor

Actual behaviour

Edited global styles are not available in the post editor

Screenshots or screen recording (optional)

Site Editor - rename 'Blue' color to 'New Name', and add a 'New Color' site-editor-color-rename-ok site-editor-new-color-ok

Post editor - edited global styles are missing post-editor-color-rename-not-ok post-editor-new-color-not-ok

Code snippet (optional)

WordPress information

  • WordPress version: 5.7
  • Gutenberg version: 10.1.1
  • Are all plugins except Gutenberg deactivated? Yes
  • Are you using a default theme (e.g. Twenty Twenty-One)? TT1Blocks

Device information

  • Device: Dekstop
  • Operating system: Windows 10
  • Browser: Chrome & Firefox

Sandstromer avatar Mar 12 '21 10:03 Sandstromer

Think it may be same as described in https://github.com/WordPress/gutenberg/issues/29802

Sandstromer avatar Mar 12 '21 11:03 Sandstromer

I wasn't able to reproduce this on the latest version of Gutenberg, the custom colors I created in Site Editor Red Test + Blue Test are displayed in the editor.

https://user-images.githubusercontent.com/41231764/183931429-6b16790c-e676-4dbc-97f7-a227ab24d9e9.mov

WordPress 6.0.1 Gutenberg 13.8.1 active

I'm going to close this issue

Thelmachido avatar Aug 10 '22 14:08 Thelmachido