Open
Description
Description
While trying to work around #49072 I placed a template part inside a post template block so that I could reuse a post template like this:
This works on the frontend, but it does not work in the site editor.
The resulting posts did not inherit block context and instead of a list of posts matching the query block, I saw a single post showing generic post placeholder blocks
Step-by-step reproduction instructions
Create a query block with post titles, etc, and then turn the descendants of the post template block into a template part ( but not the post template block itself, just its children )
Screenshots, screen recording, code snippet
No response
Environment info
WordPress 6.1
Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Yes