Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Undo implementation - DOM manipulations [closed]

Tags:

javascript

dom

Is there a library that can be used for implementing undo/redo functionality for DOM element manipulations in JavaScript?

I'm writing an prototype.js app (memonaut) that moves around DOM elements, enables editing and deletion of those elements. There are event-handlers and other objects associated with each element operated upon.

Not sure whether I need to roll my own implementation of the Command pattern for this. Surely, there must be something available? If not, suggestions and pointers would be a great help.

like image 248
sonofdelphi Avatar asked Apr 26 '10 18:04

sonofdelphi


1 Answers

Have a look at the jQuery plug-in "undoable".

like image 196
Reto Aebersold Avatar answered Oct 21 '22 12:10

Reto Aebersold