fixed for proper editor.insertHtml behaviour