Opened 8 years ago

Closed 7 years ago

#8880 closed Bug (fixed)

[IE8] Undo results in wrong cursor with HTML comment

Reported by: Garry Yao Owned by:
Priority: Normal Milestone:
Component: Core : Undo & Redo Version: 3.0
Keywords: IE Cc:

Description

  1. Load the editor with following content and selection:
    <!-- A comment -->
    <p>^foo</p>
    
  2. Type some random chars;
  3. Click on Undo button;
  • Expected: Inserted chars are removed, with cursor restored to the start;
  • Actual: Inserted chars are removed, but cursor is now at the end of content.

Attachments (1)

2012-04-19_1017.swf (738.1 KB) - added by Jakub Ś 8 years ago.

Download all attachments as: .zip

Change History (4)

comment:1 Changed 8 years ago by Garry Yao

IE9 and other browsers work well.

Changed 8 years ago by Jakub Ś

Attachment: 2012-04-19_1017.swf added

comment:2 Changed 8 years ago by Jakub Ś

Status: newconfirmed

File 2012-04-19_1017.swf shows how to reproduce.

Not only cursor is moved to the end of document but also HTML comments get removed.

Reproducible in IE6-8 from CKEditor 3.0.

comment:3 Changed 7 years ago by Jakub Ś

Resolution: fixed
Status: confirmedclosed

I wasn't able to reproduce this problem in latest CKEditor 4.1.1.

Note: See TracTickets for help on using tickets.
© 2003 – 2019 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy