Inner Blocks reset to block template in the backend. #9375
Labels
[Feature] Nested / Inner Blocks
Anything related to the experience of nested/inner blocks inside a larger container, like Group or P
[Status] Duplicate
Used to indicate that a current issue matches an existing one and can be closed
[Type] Bug
An existing feature does not function as intended
Gutenberg 3.6.2
Describe the bug
I'm working on a plugin adding Gutenberg blocks with child blocks inside.
The container block has a block template. This works correctly on creating a post, and displays correctly in the frontend.
However editing an existing post resets the block content to the template.
When the block template code is removed everything works as expected.
To Reproduce
Block registration code attached below.
(Hopefully not just an obvious mistake in my code.)
example.txt
Expected behavior
The content should be loaded as expected in the backend.
The text was updated successfully, but these errors were encountered: