html5sortable icon indicating copy to clipboard operation
html5sortable copied to clipboard

Revert method missing

Open swayhead opened this issue 10 years ago • 2 comments

It would be nice to have a "cancel/revert/restore" method to re-establish the state prior to dragging. Could be useful inside callback functions.

swayhead avatar Nov 18 '15 12:11 swayhead

I would like to reference #90 for people trying to accomplish this without a current solution.

skylord123 avatar Feb 02 '16 17:02 skylord123

Basically to make this work we would need to:

  • [ ] store some kind of history of the most recent changes (this could be done using browser local storage)
  • [ ] add a revert function that when triggered restores to the latest version and updates the local storage

lukasoppermann avatar Feb 19 '18 21:02 lukasoppermann