Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add support for resolving pattern blocks #323

Merged

Conversation

justlevine
Copy link
Contributor

What

This PR adds support to resolving the innerBlocks for synced Block Patterns, introduced in WordPress 6.6

Why

While synced patterns are a highlight of FSE, they are still commonly inserted manually into post/page/cpt content, especially in hybrid themes.

Since this is a backwards-compatible improvement, I believe it makes sense to introduce this now instead of after any incoming breaking changes.

How

See diff

@justlevine justlevine requested a review from a team as a code owner December 17, 2024 17:40
Copy link

changeset-bot bot commented Dec 17, 2024

🦋 Changeset detected

Latest commit: d57adbf

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@wpengine/wp-graphql-content-blocks Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@justlevine justlevine changed the title feat: resolve block patterns feat: add support for resolving pattern blocks Dec 17, 2024
@theodesp
Copy link
Member

Awesome!

Copy link

@colinmurphy colinmurphy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @justlevine 😁

@theodesp theodesp merged commit 4c548c3 into wpengine:main Dec 18, 2024
11 of 12 checks passed
@justlevine justlevine deleted the feat/backporting_populate_pattern_inner_blocks branch December 18, 2024 18:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants