Ticket #4657: 4657.patch
File 4657.patch, 794 bytes (added by , 14 years ago) |
---|
-
_source/plugins/selection/plugin.js
1103 1103 // In FF2, if we have a collapsed range, inside an empty 1104 1104 // element, we must add something to it otherwise the caret 1105 1105 // will not be visible. 1106 // In Opera instead, the selection will be moved out of the 1107 // element. 1106 1108 if ( range.collapsed && 1107 ( CKEDITOR.env. gecko && CKEDITOR.env.version < 10900) &&1109 ( CKEDITOR.env.opera || ( CKEDITOR.env.gecko && CKEDITOR.env.version < 10900 ) ) && 1108 1110 startContainer.type == CKEDITOR.NODE_ELEMENT && 1109 1111 !startContainer.getChildCount() ) 1110 1112 {