Ticket #5114: 5114.patch
File 5114.patch, 1.0 KB (added by , 14 years ago) |
---|
-
_source/plugins/selection/plugin.js
141 141 142 142 // IE before version 8 will leave cursor blinking inside the document after 143 143 // editor blurred unless we clean up the selection. (#4716) 144 var env = CKEDITOR.env; 145 if( env.ie && env.version < 8 ) 146 editor.document.$.selection.empty(); 144 if ( CKEDITOR.env.ie && CKEDITOR.env.version < 8 ) 145 { 146 // IE stack overflows when we're doing so inside table. (#5114) 147 var parent = 148 savedRange 149 && savedRange.parentElement 150 && savedRange.parentElement(); 151 152 if( !( parent && parent.tagName.toLowerCase() in CKEDITOR.dtd.$tableContent ) ) 153 editor.document.$.selection.empty(); 154 } 147 155 }); 148 156 149 157 // IE fires the "selectionchange" event when clicking