diff --git a/packages/block-library/src/code/transforms.js b/packages/block-library/src/code/transforms.js index 88b167f420300..088db34a87cf4 100644 --- a/packages/block-library/src/code/transforms.js +++ b/packages/block-library/src/code/transforms.js @@ -12,7 +12,7 @@ const transforms = { }, { type: 'block', - blocks: [ 'core/html' ], + blocks: [ 'core/html', 'core/paragraph' ], transform: ( { content } ) => { return createBlock( 'core/code', { content,