Ticket #7777: 7777.patch
File 7777.patch, 843 bytes (added by , 13 years ago) |
---|
-
_source/plugins/selection/plugin.js
1306 1306 // In FF2, if we have a collapsed range, inside an empty 1307 1307 // element, we must add something to it otherwise the caret 1308 1308 // will not be visible. 1309 // FF4 reintroduced a similar bug. (#7777) 1309 1310 // In Opera instead, the selection will be moved out of the 1310 1311 // element. (#4657) 1311 1312 if ( range.collapsed && 1312 ( CKEDITOR.env.opera || ( CKEDITOR.env.gecko && CKEDITOR.env.version < 10900 )) &&1313 ( CKEDITOR.env.opera || CKEDITOR.env.gecko ) && 1313 1314 startContainer.type == CKEDITOR.NODE_ELEMENT && 1314 1315 !startContainer.getChildCount() ) 1315 1316 {