Documentation

editor.clearHistory()

Clears all undo/redo records.

Syntax

editor.clearHistory()

Example usage

var editor1 = new RichTextEditor("#div_editor1");        
editor1.clearHistory();