Opened 10 years ago

Last modified 10 years ago

#11843 confirmed Bug

[IE8-11] selectionChange event outputs invalid element when Ie is in Compatibility mode.

Reported by: Jakub Ś Owned by:
Priority: Normal Milestone:
Component: General Version: 4.0 Beta
Keywords: IE Cc:

Description

  1. Put attached api2.html sample into samples folder
  2. Open sample in IE browser
  3. This sample contains code for selectionChange:
    selectionChange : function(evt){
    	var htmlElement = evt.data.selection.getStartElement();
    	console.log(htmlElement.getText());
    }
    
  4. Set compatibility mode for current page e.g. Top Menu -> Tools -> "Compatibility View"
  5. Click on "Set Editor Contents" button
  6. Click on "Objective".
  7. IE will report
    Main Title
    Objective
    
  8. Scroll Down and double-click on "Description". You may need to double-click few times.
  9. Editor will report:
    Main Title
    Description
    

This doesn't happen in standard IE mode. Whenever you click on element, only its description gets reported.

Problem is reproducible in CKE 4.0 beta.

Attachments (2)

api2.html (7.0 KB) - added by Jakub Ś 10 years ago.
2014-04-17_1603.swf (1.1 MB) - added by Jakub Ś 10 years ago.

Download all attachments as: .zip

Change History (3)

Changed 10 years ago by Jakub Ś

Attachment: api2.html added

comment:1 Changed 10 years ago by Jakub Ś

Status: newconfirmed

Changed 10 years ago by Jakub Ś

Attachment: 2014-04-17_1603.swf added
Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy