diff --git a/lib/experimental/auto-inserting-blocks.php b/lib/experimental/auto-inserting-blocks.php index f4a650e110bf92..4790dc4166fa3a 100644 --- a/lib/experimental/auto-inserting-blocks.php +++ b/lib/experimental/auto-inserting-blocks.php @@ -335,7 +335,7 @@ function gutenberg_register_auto_insert_rest_field() { 'auto_insert', array( 'schema' => array( - 'description' => __( 'Block types that may be automatically inserted near this block and the associated relative position where they are inserted.', 'gutenberg' ), + 'description' => __( 'This block is automatically inserted near any occurence of the block types used as keys of this map, into a relative position given by the corresponding value.', 'gutenberg' ), 'patternProperties' => array( '^[a-zA-Z0-9-]+/[a-zA-Z0-9-]+$' => array( 'type' => 'string', diff --git a/packages/block-editor/src/hooks/auto-inserting-blocks.js b/packages/block-editor/src/hooks/auto-inserting-blocks.js index 9d5b9add0770c6..5b3adfbdde8b93 100644 --- a/packages/block-editor/src/hooks/auto-inserting-blocks.js +++ b/packages/block-editor/src/hooks/auto-inserting-blocks.js @@ -193,9 +193,6 @@ function AutoInsertingBlocksControl( props ) {

{ vendor }

{ groupedAutoInsertedBlocks[ vendor ].map( ( block ) => { - // TODO: Display block icon. - // - const checked = block.name in autoInsertedBlockClientIds;