-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Shared block not working with columns #6662
Comments
Additional info:
|
I had the same issue, in my case it turned out to be related to the moving of InnerBlocks to wp.editor (was: wp.blocks) const { InnerBlocks} = wp.editor; Hope this helps.... |
Ah sorry think I created a duplicate of this in #7169 |
The problem is that |
For what it's worth, here's the serialized content of the > …cli post get --field=content $ID <!-- wp:columns -->
<div class="wp-block-columns has-2-columns">
<!-- wp:column -->
<div class="wp-block-column">
<!-- wp:paragraph -->
<p>Hi</p>
<!-- /wp:paragraph -->
</div>
<!-- /wp:column -->
<!-- wp:column -->
<div class="wp-block-column">
<!-- wp:latest-posts /-->
</div>
<!-- /wp:column -->
</div>
<!-- /wp:columns --> |
On further digging, it seems that |
@mcsf odd, not what I saw. The problem was what I mentioned in my comment above. The nested blocks are available in the |
Describe the bug
When a shared block is created from a Columns block and inserted into different pages, only the outer markup of the block is produced - not the content inside the columns.
It appears correctly on the original page (frontend + backend), as well as within the Gutenberg editor on the other pages.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The content of the shared block should be visible on both the frontend and backend. Currently it is only visible on the backend.
Screenshots
Desktop (please complete the following information):
Additional context
The text was updated successfully, but these errors were encountered: