RichTextEditor JavaScript global enables you to create, modify and interact with instances of the editor. This is the starting point for any integration. Creating an editor is done using the static new()
method.
new RichTextEditor(elementOrQuery, config)
elementOrQuery : an element object , or "#id" , or ".classname" etc
config : options to initialize the editor
The element could be <div> or <textarea> .
If the element is <div> , the innerHTML of the <div> will be loaded as the initial document content.
If the element is <textarea> , the value of the <textarea> will be loaded as the initial document content.