Ticket #6000: 6000_2.patch
File 6000_2.patch, 829 bytes (added by , 13 years ago) |
---|
-
_source/plugins/wysiwygarea/plugin.js
546 546 blinkCursor(); 547 547 else if ( CKEDITOR.env.opera ) 548 548 doc.getBody().focus(); 549 else if ( CKEDITOR.env.webkit )550 {551 // Selection will get lost after move focus552 // to document element, save it first.553 var sel = editor.getSelection(),554 type = sel.getType(),555 range = ( type != CKEDITOR.SELECTION_NONE ) && sel.getRanges()[ 0 ];556 549 557 doc.getDocumentElement().focus();558 range && range.select();559 }560 561 550 editor.focusManager.focus(); 562 551 }); 563 552