Gutenberg: Can't add blocks from block directory inside Group

Created on 12 Aug 2020  路  4Comments  路  Source: WordPress/gutenberg

Describe the bug
I just downloaded WordPress 5.5, and was playing around with the new block directory. There is an issue when clicking on the Appender button in an InnerBlock, and then selecting "Browse All". This bug I think applies to all innerBlocks.

To reproduce
Steps to reproduce the behavior:

  1. Add a new Post.
  2. Click on the "+" sign. Add the "Group" block.
  3. Click on the "+" sign inside the "Group" block.
  4. Select "Browse All".
  5. Select any block.

Expected behavior
The block should get added inside the "Group" block. But what happens is that the block get added outside the "Group" block. This completely kills the appender for all innerBlocks, especially if the innerBlock constrains which blocks can be added to it.

Editor version (please complete the following information):

  • WordPress version: 5.5
  • Does the website has Gutenberg plugin installed, or is it using the block editor that comes by default? No Gutenberg plugin, just 5.5.

Desktop (please complete the following information):

  • OS: MacOS
  • Browser Chrome
  • Version 84.0.4147.105 (64-bit)
[Feature] Inserter [Feature] Nested / Inner Blocks [Status] Duplicate [Type] Bug

Most helpful comment

I can replicate this, but it's not just "block directory" blocks, the problem happens with installed blocks too.

All 4 comments

@MichaelArestad this might be of interest to you!

I'm seeing this as well - it definitely causes confusion when someone is trying to add a block inside of a parent block.

I can replicate this, but it's not just "block directory" blocks, the problem happens with installed blocks too.

Closing as a duplicate of #24403

Was this page helpful?
0 / 5 - 0 ratings

Related issues

youknowriad picture youknowriad  路  3Comments

davidsword picture davidsword  路  3Comments

maddisondesigns picture maddisondesigns  路  3Comments

jasmussen picture jasmussen  路  3Comments

spocke picture spocke  路  3Comments