Fork me on GitHub

Recorder.js

Text recorder for textareas

Try out recorder.js here:


See the replay here:



A textual recorder for textareas

Usage

<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();

License

MIT