Ticket #4848: 4848.patch
File 4848.patch, 836 bytes (added by , 16 years ago) |
---|
-
_source/plugins/wysiwygarea/plugin.js
661 661 else if ( editor.window ) 662 662 { 663 663 editor.window.focus(); 664 665 // Force the selection to happen, in this way 666 // we guarantee the focus will be there. (#4848) 667 if ( CKEDITOR.env.ie ) 668 { 669 var sel = editor.getSelection(); 670 sel = sel && sel.getNative(); 671 var range = sel && sel.type && sel.createRange(); 672 if ( range ) 673 { 674 sel.empty(); 675 range.select(); 676 } 677 } 678 664 679 editor.selectionChange(); 665 680 } 666 681 }