Clears all undo/redo records.
editor.clearHistory()
var editor1 = new RichTextEditor("#div_editor1"); editor1.clearHistory();