Skip to content

Pattern Directory editor not applying block styles for new patterns (styles only visible in preview) #731

Open

Description

@noruzzamans

Summary

When I create a new pattern in the WordPress.org Pattern Directory, the visual styles are not applied correctly inside the editor. After saving the pattern and viewing the public preview, all the styles appear correctly there.

Steps to reproduce

Go to WordPress.org → Patterns → “My patterns”.

Click New pattern to create a new pattern.

Add blocks (for example: Cover → Columns → Heading, Paragraph, Buttons, List, etc.).

Apply styles in the block settings (background, layout, spacing, etc.).

Look at the pattern inside the editor canvas.

Save the pattern.

Open the public pattern preview page.

Expected behavior
The editor should render the pattern with the same styles that appear in the public preview, so the design I see while editing matches the final pattern.

Actual behavior
In the editor, many of the styles are not applied (the layout looks plain and without the expected visual styling).
After saving and viewing the pattern preview, all styles are applied correctly and the design looks as intended.

Image Image

Activity

  1. marutim commented on Feb 20, 2026

    @marutim

    I was able to reproduce this issue while creating a new pattern. After submitting the pattern, I could access the preview of the submitted pattern from the “My Patterns” section. If the pattern isn’t submitted, there’s no way to preview how it will appear.

    Screenshot of the editor:

    Image

    Screenshot of the preview after the pattern is submitted:

    Image
  2. supernovia commented on Mar 5, 2026

    @supernovia

    Here's what I still see.

    patterns.broken.mov
  3. supernovia commented on Apr 13, 2026

    @supernovia

    @marutim I just went to check on this again and am not currently having trouble -- the colors and layouts all load as expected for me today. Can you confirm?

  4. supernovia commented on Apr 13, 2026

    @supernovia

    Looks like this was solved in a duplicate issue! #737
    #740

    @bor0 and @dd32 IDK if you can mark this one closed (I can't) but it seems to be done now. Thanks for your help!

  5. CeliGaroe commented on Apr 13, 2026

    @CeliGaroe

    Thank you for the update, @supernovia ! This helps a lot. 🫶

  6. supernovia commented on Apr 13, 2026

    @supernovia

    Thank you for the update, @supernovia ! This helps a lot. 🫶

    @CeliGaroe it seems there's one more new issue. We're discussing it in the newly minted #patterns channel on Slack

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions