Template Part: using name "content" conflicts with the post content block #58215
Labels
[Block] Post Content
Affects the Post Content Block
[Block] Template Part
Affects the Template Parts Block
[Feature] Patterns
A collection of blocks that can be synced (previously reusable blocks) or unsynced
[Status] In Progress
Tracking issues with work in progress
[Type] Bug
An existing feature does not function as intended
[Type] Regression
Related to a regression in the latest release
Description
I created a pattern called "Content". I added the post content block inside of it. This results in the pattern being inserted inside itself.
Step-by-step reproduction instructions
Make new template part in the general area.
Name it Content
add the "Content" block inside of it.
You should get a "this block cannot be rendered inside itself" error.
Screenshots, screen recording, code snippet
video1577399600.mp4
Environment info
Wp 6.4
Gutenberg 17.5.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.
No
The text was updated successfully, but these errors were encountered: