This method is used for retrieving the content of RichTextEditor as HTML.
editor.getHTMLCode()
Type: String
The string contents of the editor with formatting data.
Output filters are used to strip-out internal content created during the editing process (such as allowScriptCode , tagAllowList , tagBlockList...).