Text recorder for textareas
Try out recorder.js here:A textual recorder for textareas
<script src="dist/recorder.min.js"></script>
// Set up the recorder to track text changes on an element
var recorder = new window.Recorder.TextAreaRecorder(HTMLTextAreaElement);
// Play the recording back into the supplied element
recorder.play(HTMLTextAreaElement);
Additional commands
// Clear the last recording
recorder.clear()
// Get a JSON representation of the deltas
recorder.getRecording();
MIT