Home   Pricing

editor.delete()

Deletes a selection.

Syntax

editor.delete()

Example:

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