0

Is there any undo/redo plugin in jquery. If not how one can implement and undo/redo mechanism on a particular html emlement.

thanks.

Jehanzeb afridi
  • 186
  • 2
  • 4
  • 12
  • Are you using a WYSIWYG editor component that needs undoing? Or do you want to undo things you do to HTML elements programmatically? – Pekka Dec 30 '09 at 12:09
  • I m working on a design tool, where user can add text, background images and can edit those text/image, and in any particular time they can undo there work. I m using jquery as a development tool, i have googled for jquery undo plugin but could not find any suitable plugin which can perform undo operation ony any particular element. Thanks... – Jehanzeb afridi Dec 30 '09 at 13:19

2 Answers2

6

Have a look at the Undo plugin or even the Undoable plugin.

Gregory Pakosz
  • 69,011
  • 20
  • 139
  • 164
  • I have already checked those links, the one on http://docs.jquery.com/Plugins/Undo merely provide any download link for the plugin. and the other one is not working in Mozila. – Jehanzeb afridi Dec 30 '09 at 13:16
2

My Undo Manager might fit your needs: https://github.com/ArthurClemens/Javascript-Undo-Manager

It is library agnostic, and quite easy to make it work with jQuery (see the demo).

Arthur Clemens
  • 2,848
  • 24
  • 18