Skip to content

Commit

Permalink
Paste: fix image paste from Google Forms (WordPress#64502)
Browse files Browse the repository at this point in the history
  • Loading branch information
ellatrix authored and bph committed Aug 31, 2024
1 parent 490a3b7 commit a5914a6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ export default function figureContentReducer( node, doc, schema ) {
) {
wrapFigureContent( nodeToInsert, wrapper );
}
} else if ( nodeToInsert.parentNode.nodeName === 'BODY' ) {
} else {
wrapFigureContent( nodeToInsert );
}
}

0 comments on commit a5914a6

Please sign in to comment.