Changes between Initial Version and Version 1 of Ticket #12610, comment 1


Ignore:
Timestamp:
Nov 5, 2014, 8:30:31 AM (10 years ago)
Author:
Jakub Ś
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #12610, comment 1

    initial v1  
    11Problem can be reproduced from CKEditor 4.0 beta in IE9-11.
    2 
    3 I believe the problem are below two lines:
    4 {{{
    5 var selection = editor.getSelection().getRanges()[0];
    6 var parentNode = selection.endContainer.getParent();
    7 }}}
    8 The parentNode  for IE is body while for other browsers like Chrome it is span.
    9 
    10 I'm not sure whether this is bug (could be because same method returns different results) or simply a matter of using slightly different api for IE (it is know that browsers handle native selection differently).
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy