title: document.execCommand before pasteHTML not working
body: <p>I'm developing a rich text editor.</p>
  <p>If i <code>document.execCommand ('bold', false, null)</code> before <code>pasteHTML</code> to insert some text, it does not work. I want to send command 'bold' and then insert some special text with pasteHTML and make that text bold.</p>
  <p>I'm using bold as example, but can be any execCommand.</p>
  <p>Any help?</p>