diff --git a/src/blocks/loop-item/edit.js b/src/blocks/loop-item/edit.js index 420d8dbf9..b0f243d69 100644 --- a/src/blocks/loop-item/edit.js +++ b/src/blocks/loop-item/edit.js @@ -22,6 +22,7 @@ function EditBlock( props ) { editorHtmlAttributes, styles, context, + name, } = props; const { diff --git a/src/blocks/looper/block.json b/src/blocks/looper/block.json index ea8c8eb25..b7f79758b 100644 --- a/src/blocks/looper/block.json +++ b/src/blocks/looper/block.json @@ -73,5 +73,8 @@ "generateblocks/queryType", "generateblocks/loopIndex", "generateblocks/loopItem" + ], + "allowedBlocks": [ + "generateblocks/loop-item" ] }