Front.insertHTML(HTML_string)
Allows you to insert HTML in the message composer where the user cursor is.
HTML_string: string
The HTML to add to the current draft.
Front.insertHTML('<div>Automatically inserted HTML</div>');
Limitation
Inserting HTML is currently supported only when composing a reply (not in the new message composer)