Ticket #7222: 7222.patch

File 7222.patch, 782 bytes (added by Garry Yao, 14 years ago)
  • _source/plugins/wysiwygarea/plugin.js

     
    422422                        }
    423423
    424424                        range.select();
    425                         // Notify non-IE that selection has changed.
    426                         if ( !CKEDITOR.env.ie )
    427                         {
    428                                 // Make sure next selection change is correct.  (#6811)
    429                                 editor.forceNextSelectionCheck();
    430                                 editor.selectionChange();
    431                         }
    432                 }
     425                        // Cancel this selection change in favor of the next (correct).  (#6811)
     426                        evt.cancel();
     427                }
    433428
    434429                // All browsers are incapable to moving cursor out of certain non-exitable
    435430                // blocks (e.g. table, list, pre) at the end of document, make this happen by
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy