Ticket #4716: 4716_2.patch

File 4716_2.patch, 715 bytes (added by Garry Yao, 14 years ago)
  • _source/plugins/selection/plugin.js

     
    138138                                                        {
    139139                                                                // Disable selections from being saved.
    140140                                                                saveEnabled = false;
     141
     142                                                                // IE before version 8 will leave cursor blinking inside the document after
     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();
    141147                                                        });
    142148
    143149                                                // IE fires the "selectionchange" event when clicking
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy