Ticket #5684: 5684_2.patch
File 5684_2.patch, 1.4 KB (added by , 13 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. -
_source/plugins/wysiwygarea/plugin.js
1136 1136 { 1137 1137 editor.focus(); 1138 1138 } ); 1139 1140 editor.focusGrabber = focusGrabber; 1139 1141 } ); 1140 1142 editor.on( 'destroy', function() 1141 1143 { 1142 1144 CKEDITOR.tools.removeFunction( contentDomReadyHandler ); 1143 1145 focusGrabber.clearCustomData(); 1146 delete editor.focusGrabber; 1144 1147 } ); 1145 1148 } 1146 1149