Skip to content

Commit

Permalink
Paste: fix image paste from Google Forms (#64502)
Browse files Browse the repository at this point in the history
  • Loading branch information
ellatrix authored Aug 30, 2024
1 parent 497f581 commit 90e6d26
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 90e6d26

Please sign in to comment.