diff --git a/packages/blocks/src/api/raw-handling/figure-content-reducer.js b/packages/blocks/src/api/raw-handling/figure-content-reducer.js index 4dfb24f2c9781..4c8c1a8dd736b 100644 --- a/packages/blocks/src/api/raw-handling/figure-content-reducer.js +++ b/packages/blocks/src/api/raw-handling/figure-content-reducer.js @@ -95,7 +95,7 @@ export default function figureContentReducer( node, doc, schema ) { ) { wrapFigureContent( nodeToInsert, wrapper ); } - } else if ( nodeToInsert.parentNode.nodeName === 'BODY' ) { + } else { wrapFigureContent( nodeToInsert ); } }