Ticket #7368: 7368.patch
File 7368.patch, 799 bytes (added by , 13 years ago) |
---|
-
_source/plugins/clipboard/dialogs/paste.js
164 164 var container = this.getContentElement( 'general', 'editing_area' ).getElement(), 165 165 iframe = container.getElementsByTag( 'iframe' ).getItem( 0 ), 166 166 editor = this.getParentEditor(), 167 html = iframe.$.contentWindow.document.body.innerHTML; 167 body = iframe.getFrameDocument().getBody(), 168 bogus = body.getBogus(); 169 bogus && bogus.remove(); 168 170 169 171 setTimeout( function(){ 170 editor.fire( 'paste', { 'html' : html} );172 editor.fire( 'paste', { 'html' : body.getHtml() } ); 171 173 }, 0 ); 172 174 173 175 },