Ticket #6179: patch
File patch, 1.6 KB (added by , 14 years ago) |
---|
-
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 focus 552 // to document element, save it first. 553 var sel = editor.getSelection(), 554 type = sel.getType(), 555 range = ( type != CKEDITOR.SELECTION_NONE ) && sel.getRanges()[ 0 ]; 549 556 557 doc.getDocumentElement().focus(); 558 range && range.select(); 559 } 560 550 561 editor.focusManager.focus(); 551 562 });