Skip to content

Conversation

@dlh01
Copy link
Member

@dlh01 dlh01 commented Nov 19, 2025

When "Show template" is enabled in the editor, getBlocks() returns the blocks in the entire template. This tree includes the core/post-content block, but without its inner blocks. To get the blocks inside core/post-content, the block needs to be requested by client ID.

Fixes #394.

Copy link
Contributor

@juliobranha juliobranha left a comment

Choose a reason for hiding this comment

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

🐐

Copy link
Contributor

@juliobranha juliobranha left a comment

Choose a reason for hiding this comment

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

🐐 🐐

@dlh01 dlh01 merged commit 5bf7151 into develop Nov 19, 2025
13 checks passed
@dlh01 dlh01 deleted the fix/template-mode-query branch November 19, 2025 17:09
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.

Post Preview not updating in Template Mode

3 participants