Added getHtmlFromRange
Fixed insertHtml