Ticket #5684: 5684.patch
File 5684.patch, 837 bytes (added by , 14 years ago) |
---|
-
_source/plugins/clipboard/plugin.js
218 218 evt.data.preventDefault(); 219 219 } 220 220 else 221 {222 doc.$.designMode = 'off';223 221 pastebin.$.focus(); 224 } 225 } 222 } 226 223 else 227 224 { 228 225 range.setStartAt( pastebin, CKEDITOR.POSITION_AFTER_START ); … … 230 227 range.select( true ); 231 228 } 232 229 230 var editor = this; 233 231 // Wait a while and grab the pasted contents 234 232 window.setTimeout( function() 235 233 { 236 mode == 'text' && !CKEDITOR.env.ie && ( doc.$.designMode = 'on');234 mode == 'text' && CKEDITOR.env.gecko && editor.focusGrabber.focus(); 237 235 pastebin.remove(); 238 236 239 237 // Grab the HTML contents.