Ticket #42416: 42416.diff
File 42416.diff, 476 bytes (added by , 7 years ago) |
---|
-
src/wp-includes/js/mce-view.js
diff --git src/wp-includes/js/mce-view.js src/wp-includes/js/mce-view.js index f5aa2337ea..8865279239 100644
863 863 864 864 // Obtain the target width for the embed. 865 865 if ( self.editor ) { 866 maxwidth = self.editor. iframeElement.clientWidth - 20; // Minus the sum of horizontal margins and borders.866 maxwidth = self.editor.getBody().clientWidth; 867 867 } 868 868 869 869 wp.ajax.post( this.action, {