WordPress / pattern-directory

The WordPress Block Pattern Directory
https://wordpress.org/patterns/
GNU General Public License v2.0
125 stars 35 forks source link

Pattern Preview looks different than the actual design. #710

Open tirth-doshi-techno opened 1 month ago

tirth-doshi-techno commented 1 month ago

Describe the bug I am Creating a custom pattern to Contribute to WordPress. In the Editor, it looks perfect but when I save the pattern and Preview it, It doesn't look what I Created.

Here's the Screenshot of the editor page Screenshot from 2024-09-27 14-55-32

Here's the Screenshot of the preview page Screenshot from 2024-09-27 15-15-41

To Reproduce Steps to reproduce the behavior:

  1. Go to 'Patterns'
  2. Try to create a pattern similar to the one provided in the screenshot.
  3. Save as a Draft and See the Preview.
  4. See error

Expected behavior The pattern in the Preview should look same as it looks in the editor.