#2763: Undo/Redo system porting from v2
-------------------------------+--------------------------------------------
Reporter: garry.yao | Owner: fredck
Type: New Feature | Status: assigned
Priority: Normal | Milestone: CKEditor 3.0
Component: General | Version:
Keywords: Confirmed Review- |
-------------------------------+--------------------------------------------
Changes (by martinkou):
* keywords: Confirmed Review? => Confirmed Review-
Comment:
The proposed patch does not work for multi-step undo/redos.
e.g.
1. Open replacebyclass.html in Firefox 3.
2. Perform a few align operations on the first paragraph - center, right,
justify, right, center, left, etc.
3. Press undo.
4. The system skips all the intermediate steps and goes back to the first
snapshot.
Another fault pattern would be the undo system is unable to undo beyond a
certain undo snapshot, e.g.
1. Open replacebyclass.html in Firefox 3.
2. Justify center.
3. Type some random text into the paragraph to ensure Image::equals()
returns false.
4. Repeat steps 2, 3 for a few times with other justify commands.
5. Try to undo a few times.
6. The undo system is stuck in one of the snapshots and is unable to go
back to the first snapshot.
The bugs seem to have to do with the type checking logic in the
UndoManager.
--
Ticket URL: <http://dev.fckeditor.net/ticket/2763#comment:12>
FCKeditor <http://www.fckeditor.net/>
The text editor for Internet
------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
FCKeditor-Trac mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fckeditor-trac