Skip to content

Commit

Permalink
Paste: fix image paste from Google Forms
Browse files Browse the repository at this point in the history
  • Loading branch information
ellatrix committed Aug 14, 2024
1 parent 757f8e4 commit 1acf5f9
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 1acf5f9

Please sign in to comment.