Ticket #8691: 8691_2.patch
File 8691_2.patch, 802 bytes (added by , 12 years ago) |
---|
-
_source/plugins/clipboard/plugin.js
231 231 if ( mode == 'text' && CKEDITOR.env.gecko ) 232 232 editor.document.getBody().focus(); 233 233 234 pastebin.remove();235 234 editor.removeListener( 'selectionChange', cancel ); 236 235 237 236 // Grab the HTML contents. … … 244 243 && ( bogusSpan.is && bogusSpan.hasClass( 'Apple-style-span' ) ) ? 245 244 bogusSpan : pastebin ); 246 245 246 // IE7: selection must go before removing paste. (#8691) 247 247 sel.selectBookmarks( bms ); 248 pastebin.remove(); 248 249 callback( pastebin[ 'get' + ( mode == 'text' ? 'Value' : 'Html' ) ]() ); 249 250 }, 0 ); 250 251 }