Documentation: InnerBlocks Templates apply whenever InnerBlocks is empty, not just on Insert #64801
Closed
2 tasks done
Labels
[Type] Bug
An existing feature does not function as intended
Description
https://developer.wordpress.org/block-editor/how-to-guides/block-tutorial/nested-blocks-inner-blocks/#template
The documentation says "Use the template property to define a set of blocks that prefill the InnerBlocks component when inserted." However, the template is prefilled whenever the innerBlocks are empty, not just when they are inserted.
#25050 Covers this and implies that it is intended behavior. That should be documented.
Step-by-step reproduction instructions
Screenshots, screen recording, code snippet
No response
Environment info
WordPress 6.6
Please confirm that you have searched existing issues in the repo.
Please confirm that you have tested with all plugins deactivated except Gutenberg.
The text was updated successfully, but these errors were encountered: