Ticket #5280: 5280.patch
File 5280.patch, 1.6 KB (added by , 13 years ago) |
---|
-
_source/plugins/selection/plugin.js
193 193 restoreEnabled = 1; 194 194 }); 195 195 196 // In IE6/7 the blinking cursor appears, but contents are 197 // not editable. (#5634) 198 if ( CKEDITOR.env.ie && ( CKEDITOR.env.ie7Compat || CKEDITOR.env.version < 8 || CKEDITOR.env.quirks ) ) 199 { 200 // The 'click' event is not fired when clicking the 201 // scrollbars, so we can use it to check whether 202 // the empty space following <body> has been clicked. 203 html.on( 'click', function( evt ) 204 { 205 if ( evt.data.getTarget().getName() == 'html' ) 206 editor.getSelection().getRanges()[ 0 ].select(); 207 }); 208 } 209 196 210 // IE fires the "selectionchange" event when clicking 197 211 // inside a selection. We don't want to capture that. 198 212 body.on( 'mousedown', function () -
_source/plugins/wysiwygarea/plugin.js
928 928 focusGrabber.on( 'focus', function() 929 929 { 930 930 editor.focus(); 931 932 // In IE7 the blinking cursor appears, but contents are not editable. (#5634)933 if ( CKEDITOR.env.ie7Compat )934 editor.getSelection().getRanges()[ 0 ].select();935 931 } ); 936 932 } ); 937 933 editor.on( 'destroy', function()