diff --git a/packages/block-library/src/code/transforms.js b/packages/block-library/src/code/transforms.js index 088db34a87cf4..b19d584fb7b05 100644 --- a/packages/block-library/src/code/transforms.js +++ b/packages/block-library/src/code/transforms.js @@ -38,6 +38,15 @@ const transforms = { }, }, ], + to: [ + { + type: 'block', + blocks: [ 'core/paragraph' ], + transform: ( { content } ) => { + return createBlock( 'core/paragraph', { content } ); + }, + }, + ], }; export default transforms;