Examples
editor.htmlEncode(text)
Converts a string into an HTML-encoded string.
Syntax
editor.htmlEncode(string)
Parameter
Type: String
Required. The string to encode.
Return value
Type: String
An encoded string.
Example:
var editor1 = new RichTextEditor("#div_editor1");
var htmlcode=editor1.htmlEncode(" so a < b and b < c ");
alert(htmlcode);