diff --git a/packages/block-editor/src/components/inserter/index.js b/packages/block-editor/src/components/inserter/index.js index 669d9c58c225e7..c4ceb906dbdca6 100644 --- a/packages/block-editor/src/components/inserter/index.js +++ b/packages/block-editor/src/components/inserter/index.js @@ -351,10 +351,10 @@ export default compose( [ } } ); - blockToInsert = createBlock( - directInsertBlock.name, - newAttributes - ); + blockToInsert = createBlock( directInsertBlock.name, { + ...newAttributes, + ...( directInsertBlock.attributes || {} ), + } ); } else { blockToInsert = createBlock( allowedBlockType.name ); }