diff --git a/packages/block-library/src/heading/edit.native.js b/packages/block-library/src/heading/edit.native.js index fd17945cc6384..eb44dd8126dcc 100644 --- a/packages/block-library/src/heading/edit.native.js +++ b/packages/block-library/src/heading/edit.native.js @@ -48,11 +48,14 @@ class HeadingEdit extends Component { onReplace, } = this.props; - if ( after !== null ) { - // Append "After" content as a new paragraph block to the end of - // any other blocks being inserted after the current paragraph. + if ( after ) { + // Append "After" content as a new heading block to the end of + // any other blocks being inserted after the current heading. const newBlock = createBlock( name, { content: after } ); blocks.push( newBlock ); + } else { + const newBlock = createBlock( 'core/paragraph', { content: after } ); + blocks.push( newBlock ); } if ( blocks.length && insertBlocksAfter ) {