title: How to paste text and file in html?
body: <p>I want to copy text and image mixed content into the text-area, my code like this:</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;!doctype html&gt;
  &lt;html lang="en"&gt;
   &lt;head&gt;
    &lt;title&gt;Document&lt;/title&gt;
  
   &lt;/head&gt;
   &lt;body&gt;
    &lt;input type="hidden" name=""&gt;
  &lt;textarea id="ta" name="" rows="30" cols="100"&gt;&lt;/textarea&gt;
    &lt;script type="text/javascript"&gt;
    &lt;!--
   document.getElementById("ta").addEventListener('paste', function(e) {
    console.log(e);
   }, false);
    //--&gt;
    &lt;/script&gt;
   &lt;/body&gt;
  &lt;/html&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>So,I select a snippet content mixed text and image from a web page, paste to the text-area of my page, only just text content in the clipboardata items. But it copy image from a webpage, it's work fine. I can paste just only text or just only image , but how to paste text and image mixed.</p>