Documentation

editor.commitBookmark()

Creates a bookmark for undo record.

Syntax

editor.commitBookmark()

Example usage

var editor1 = new RichTextEditor("#div_editor1");    
editor1.commitBookmark();  
editor1.setHTMLCode("<b>hello world</b>");  
editor1.commitBookmark();