Converts a string into an HTML-encoded string.
editor.htmlEncode(string)
Type: String
Required. The string to encode.
An encoded string.