Home   Pricing

editor.commitBookmark()

Creates a bookmark for undo record.

Syntax

editor.commitBookmark()

Example:

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