Documentation

editor.delete()

Deletes a selection.

Syntax

editor.delete()

Example usage

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