Ticket #7500: 7500.patch
File 7500.patch, 825 bytes (added by , 13 years ago) |
---|
-
_source/plugins/clipboard/dialogs/paste.js
165 165 iframe = container.getElementsByTag( 'iframe' ).getItem( 0 ), 166 166 editor = this.getParentEditor(), 167 167 body = iframe.getFrameDocument().getBody(), 168 bogus = body.getBogus(); 168 bogus = body.getBogus(), 169 html; 169 170 bogus && bogus.remove(); 171 // Saving the contents in variable so changes until paste is complete will not take place (#7500) 172 html = body.getHtml(); 170 173 171 174 setTimeout( function(){ 172 editor.fire( 'paste', { 'html' : body.getHtml()} );175 editor.fire( 'paste', { 'html' : html } ); 173 176 }, 0 ); 174 177 175 178 },