Skip to content

Bug: Synced pattern wrappers are stripped. #345

@justlevine

Description

@justlevine

What

Currently, when querying for synced patterns the patterns are stripped just like unsynced patterns.

This makes it impossible to query the pattern data - for example the attributes?.slug that could allow someone to target and "upgrade" the block with a frontend component.

To replicate:

  1. Create a synced pattern on a post.

    Image

  2. Query the post and note the inner blocks are there, but the pattern isnt.

    (The first 3 blocks are part of the pattern)
    Image

Additional Notes

Metadata

Metadata

Assignees

Labels

needs: reproductionThis issue needs to be reproduced independentlytype: bugIssue that causes incorrect or unexpected behavior

Type

Projects

Status

🆕 Backlog

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions