Moved the insertHtmlAtCaret function outside of the constructor
Moved the insertHtmlAtCaret function outside of the constructor

Refactor insertHtmlAtCaret as helper instead outside the constructor of CustomHtml

etodd/medium-editor-custom-html,jillix/medium-editor-custom-html,etodd/medium-editor-custom-html,jillix/medium-editor-custom-html