problem with inserting HTML with insertHTML
<p>I'm trying to make wysiwyg editor with content editable divs and I'm inserting html with document.execCommand('insertHTML', false, html); but the problem is, when i insert link, and then i want to write after it continues to write INSIDE that link.</p>

<p>EXAMPLE:</p>

<p>how it does now:</p>

<pre><code>Hello, &lt;a&gt;stackoverflow.com MyTextAfterLink&lt;/a&gt;
</code></pre>

<p>how it should be:</p>

<pre><code>Hello, &lt;a&gt;stackoverflow.com&lt;/a&gt; MyTextAfterLink
</code></pre>

<p>How could i fix this? Thanks.</p>
