Is there a library that can be used to implement undo / redo functionality for manipulating DOM elements in JavaScript?
I am writing a prototype.js (memonaut) application that moves around DOM elements that allows me to edit and delete these elements. There are event handlers and other objects associated with each element used.
Not sure if I need to roll my own implementation of the Command pattern for this. Surely there must be something available? If not, suggestions and pointers will be of great help.
source
share