Changes between Initial Version and Version 1 of Ticket #1281

Sep 21, 2007, 7:27:32 PM (14 years ago)
Martin Kou

The undo logic of FCKeditor does not save an undo snapshot for every character you typed, because that does not make sense. In fact, for typing actions, it saves an undo step for every 25th character you typed.

While I could easily reproduce the caret jumping phenomenon by repeating your steps. I noticed that the caret jumped to the end because previously I had been typing at final paragraph, and so the caret jumped to where I was typing when it saved an undo snapshot, which is correct. If you have typed, say, 40 random characters to the end of paragraph 1 at step 4, then the caret shouldn't jump to the end. If it does, then it is a bug.

I'm not sure if you're meeting something very different from me (I'm using both IE7 and 6 on the nightly test page). But to me, it seems to be working correctly.


  • Ticket #1281

    • Property Keywords Pending added; undo removed
  • Ticket #1281 – Description

    initial v1  
    11Test step:
    2 1. type some content in FCKeditor (multiple paragraphs)
    3 2. at the end of 1st paragraph, type text, like "abc"
    4 3. press undo
    5 4. type "def"
     2 1. type some content in FCKeditor (multiple paragraphs)
     3 2. at the end of 1st paragraph, type text, like "abc"
     4 3. press undo
     5 4. type "def"
    77You can find the the "def" appear at the end of the document.
© 2003 – 2021 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy