title: How do I include base64 image in tinymce
body: <p>I'm having a problem including a base64 image using <code>tinymce.activeEditor.execCommand('mceInsertContent',</code></p>
  
  <p>The following works:</p>
  
  <pre><code>tinymce.activeEditor.execCommand("mceInsertContent", true, "&lt;img style = 'height:80px;width:80px' src='/Content/image.png' /&gt;");`
  
  tinymce.activeEditor.execCommand("mceInsertContent", true, "&lt;div&gt;safasfdasfd&lt;/div&gt;");
  </code></pre>
  
  <p>But when using <code>tinymce.activeEditor.execCommand('mceInsertContent', true, img64);</code> <br/>
  where <code>img64</code> is a <code>base64</code> image received from a MVC partial view converted to string.</p>
  
  <p>Does someone have a working example. I don't know if the syntax is wrong or if there is some option I have forgotten?</p>
  
  <p><strong>Update:</strong></p>
  
  <p>The following do not work:</p>
  
  <pre><code>tinymce.activeEditor.execCommand("mceInsertContent", true, "&lt;img style='height:80px;width:80px' src='data:image/png;base64,/some long 64 string is here'&gt;");
  </code></pre>
  
  <p>Does anyone know why this is not working? Some help would be greatly appreciated.</p>