Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inner Blocks reset to block template in the backend. #9375

Closed
Sephsekla opened this issue Aug 27, 2018 · 1 comment
Closed

Inner Blocks reset to block template in the backend. #9375

Sephsekla opened this issue Aug 27, 2018 · 1 comment
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

Comments

@Sephsekla
Copy link
Contributor

Sephsekla commented Aug 27, 2018

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.

@chrisvanpatten
Copy link
Member

Thanks for the report @Sephsekla! We're tracking this in issue #8109. As this is a duplicate I'll close it here but definitely recommend following over at #8109, and we can reopen later if necessary too.

Cheers!

@chrisvanpatten chrisvanpatten added [Type] Bug An existing feature does not function as intended [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 labels Aug 27, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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
Projects
None yet
Development

No branches or pull requests

2 participants