You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are a few problems with container blocks and nesting in write mode:
It's possible to add a Group block at root level, though you can't do anything with it. Even trying to change the style variation does nothing. Same for Columns block.
It's also possible to duplicate any block at root level (this might be intended but it's weird because it can substantially change the layout of a template)
3. Some container blocks (Quote, Details, Cover and Media & text), when nested inside another container, allow the slash inserter to appear, though trying to add a block with it doesn't work. The following console error appears in those cases: index.tsx:117 Uncaught TypeError: onReplace is not a function (errors on this line). What these blocks all have in common is that they are both containers with inner blocks and have the "content" role.
Description
There are a few problems with container blocks and nesting in write mode:
It's possible to add a Group block at root level, though you can't do anything with it. Even trying to change the style variation does nothing. Same for Columns block.
It's also possible to duplicate any block at root level (this might be intended but it's weird because it can substantially change the layout of a template)
3. Some container blocks (Quote, Details, Cover and Media & text), when nested inside another container, allow the slash inserter to appear, though trying to add a block with it doesn't work. The following console error appears in those cases:index.tsx:117 Uncaught TypeError: onReplace is not a function(errors on this line). What these blocks all have in common is that they are both containers with inner blocks and have the "content" role.Edit: 3 is now fixed by #71232.
Step-by-step reproduction instructions
Screenshots, screen recording, code snippet
containers_write_mode.mp4
Environment info
Latest Gutenberg trunk.
Please confirm that you have searched existing issues in the repo.
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Please confirm which theme type you used for testing.