Opened 16 years ago

Last modified 16 years ago

#3372 closed Bug

Undo / Redo Text Selection Bug — at Version 2

Reported by: J. Heard Owned by:
Priority: Normal Milestone: CKEditor 3.0
Component: Core : Undo & Redo Version: FCKeditor 2.6.3
Keywords: Confirmed Review+ Cc:

Description (last modified by Frederico Caldeira Knabben)

Steps to reproduce:

  1. Type in a line of text
  2. Press Enter
  3. Type another line of text.
  4. Select the second line of text.
  5. Press the "backspace" key and delete all of the highlighted text, or just simply press backspace to delete all of the text.
  6. Press Ctrl-Z or the Undo toolbar button

Observation: Only some of the deleted text is restored after pressing undo, and in some cases the entire second line of text is deleted. The behavior is sporadic, but reproducible. I've also noticed that if you have a lot of content in the editor, after calling the undo command the very last line of text will vanish.

Expected: The highlighted / deleted text should be restored as it was prior to deletion and the remainder of the content remains unchanged.

Notes: Redo performs in the same odd fashion. First noticed this behavior in the 2.6.3 version, but it's also reproducible in the nightly build:

http://www.fckeditor.net/nightly/fckeditor/_samples/default.html

Change History (2)

comment:1 Changed 16 years ago by Artur Formella

Keywords: undo redo bug removed
Priority: HighNormal

comment:2 Changed 16 years ago by Frederico Caldeira Knabben

Description: modified (diff)
Keywords: Confirmed added
Milestone: CKEditor 3.0

I confirm this problem with V2 and V3, in both IE and FF.

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