title: Select inserted text on Froala
body: <p>I need to select a chunk of text that was just inserted on a Froala textarea. Here's what I've tried:</p>
  
  <pre><code>// wrapper is used to get the outerHTML
  var wrapper = $('&lt;span/&gt;');
  var content = $('&lt;p/&gt;', { 'class': 'schedule' });
  content.html(value); 
  wrapper.append(content);
  editor.froalaEditor('html.insert', wrapper.html());
  editor.froalaEditor('selection.setAtEnd', $('.schedule')[0]);
  </code></pre>
  
  <p>Also tried adding a <code>selection.setAtStart</code> call; using <code>markers</code> module; adding <code>selection.restore</code>; focusing the textarea, and several other attemps, but nothing worked. </p>
  
  <p>How must this be achieved?</p>
  
  <p>Thanks.</p>