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.
Have a look at the jQuery plug-in "undoable".
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With