Ticket #2 (closed Task: duplicate)

Opened 3 years ago

Last modified 3 years ago

FF: Implement the Undo system used in IE

Reported by: FredCK Owned by: martinkou
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

  Changed 3 years ago by FredCK

  • milestone set to FCKeditor 2.5

  Changed 3 years ago by alfonsoml

#420 has been marked as dup

in reply to: ↑ description   Changed 3 years ago by roberto85

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

  Changed 3 years ago by martinkou

  • owner set to martinkou
  • status changed from new to assigned

  Changed 3 years ago by martinkou

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.

  Changed 3 years ago by fredck

  • component changed from General to Core : Undo/Redo

  Changed 3 years ago by martinkou

  • status changed from assigned to closed
  • resolution set to duplicate

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.