Opened 17 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 17 years ago by Frederico Caldeira Knabben

Milestone: FCKeditor 2.5

comment:2 Changed 17 years ago by Alfonso Martínez de Lizarrondo

#420 has been marked as dup

comment:3 in reply to:  description Changed 17 years ago by robert

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 Martin Kou

Owner: set to Martin Kou
Status: newassigned

comment:5 Changed 17 years ago by Martin Kou

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 Frederico Caldeira Knabben

Component: GeneralCore : Undo/Redo

comment:7 Changed 17 years ago by Martin Kou

Resolution: duplicate
Status: assignedclosed

I'm merging this ticket to #915, the new ticket covers more critical bugs than this one.

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