Skip to content

Site Editor: Edited global styles not reflected in the editor #73350

@youknowriad

Description

@youknowriad

Description

When you edit global styles (example picking a style variation) in the "styles" page of the site editor and navigating to the page editor (pages in the site editor) without saving, the global styles changes are not reflected in the canvas.

Step-by-step reproduction instructions

1- Go the site editor
2- Go to "styles"
3- Pick a style variation (any) in the "browse styles" menu
4- Navigate to pages
5- Notice that the style variation that you picked is not used in the "preview/editor"

If you try opening the global styles panel within the editor, you'll notice that the change is actually applied in the panel, but it's not reflected, you'll have to "trigger" the modification again to see it reflected.

Expected behaviour

The editor should use the "edited global styles" entity and always reflect whatever changes we make (even without saving)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Global StylesAnything related to the broader Global Styles efforts, including Styles Engine and theme.json[Feature] Site EditorRelated to the overarching Site Editor (formerly "full site editing")[Type] BugAn existing feature does not function as intended

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions