Opened 18 years ago
Closed 17 years ago
#2 closed Task (duplicate)
FF: Implement the Undo system used in IE
Reported by: | Frederico Caldeira Knabben | Owned by: | Martin Kou |
---|---|---|---|
Priority: | Normal | Milestone: | FCKeditor 2.5 Beta |
Component: | Core : Undo & Redo | Version: | |
Keywords: | Cc: |
Description
The undo system present on browsers through execCommand is quite limited, as it doesn't take care of DOM modification (done by many features in the editor).
For IE, we have implemented a custom undo system which takes snapshots of the document area innerHTML.
The porting to Firefox is just a matter of testing and doing the necessary adjustments.
Change History (7)
comment:1 Changed 18 years ago by
Milestone: | → FCKeditor 2.5 |
---|
comment:2 Changed 18 years ago by
comment:3 Changed 18 years ago by
so that means that the undo for the style is working only in ie , because of the Undo system , so i need to make the changes in _source/internals/fckundo_gecko.js similar to fckundo_ie.js ,
question: why if i changed the font size or the family the undo is working in FF can't u make something similar
regards thanks
comment:4 Changed 17 years ago by
Owner: | set to Martin Kou |
---|---|
Status: | new → assigned |
comment:5 Changed 17 years ago by
I've ported the undo/redo logic from fckundo_ie.js to fckundo_gecko.js. You can now perform undo styles by the undo button on the toolbar. Undoing and redoing by Ctrl-Z and Ctrl-Y are not working, yet.
comment:6 Changed 17 years ago by
Component: | General → Core : Undo/Redo |
---|
comment:7 Changed 17 years ago by
Resolution: | → duplicate |
---|---|
Status: | assigned → closed |
I'm merging this ticket to #915, the new ticket covers more critical bugs than this one.
#420 has been marked as dup