gutenberg
gutenberg copied to clipboard
Remove ability to add a template part in the post editor
Description
Remove ability to add a template part in the post editor, including copy and pasting. This was previous in place https://github.com/WordPress/gutenberg/pull/37157 but seems to now be allowed to add once more. I can replicate this with 6.1 beta 1.
Step-by-step reproduction instructions
- Use GB 14.1.1
- Open post editor
- Start to add a template part block however you'd like.
- Notice that you can.
- Deactivate Gutenberg
- Open post editor
- Try to add a template part block and notice you can't
Separately, notice that you can copy/paste a template part block from the template editor into a post editor, with or without Gutenberg installed, causing multi entity saving to appear in the post editor.
Screenshots, screen recording, code snippet
https://user-images.githubusercontent.com/26996883/191822627-f0276537-8fb7-4b26-9b65-b0807d471619.mov
Environment info
- WordPress 6.1 beta 1
- Gutenberg 14.1.1 both activate and deactivated
- TT2
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