Ticket #5232: 5232.patch
File 5232.patch, 929 bytes (added by , 13 years ago) |
---|
-
_source/plugins/wysiwygarea/plugin.js
747 747 else if ( editor.window ) 748 748 { 749 749 editor.window.focus(); 750 751 // Force the selection to happen, in this way752 // we guarantee the focus will be there. (#4848)753 if ( CKEDITOR.env.ie )754 {755 try756 {757 var sel = editor.getSelection();758 sel = sel && sel.getNative();759 var range = sel && sel.type && sel.createRange();760 if ( range )761 {762 sel.empty();763 range.select();764 }765 }766 catch (e) {}767 }768 769 750 editor.selectionChange(); 770 751 } 771 752 }