title: Issue when using event.clipboardData.setData for text/html data type
body: <p>I added a custom copy listener to change the copied text on clipboard to something else. Now when I copy it as text/html , it doesn't work on following cases:</p>
  <p>Copy - paste on word (works correctly)
  Copy - paste on notepad(Nothing gets pasted at all)
  Copy - paste on url bar (Nothing gets pasted at all)</p>
  <pre><code>document.getElementById(config.editorEl).addEventListener('copy', function(event) {
      const range = window.getSelection().getRangeAt(0);
      const content = range.cloneContents();
      const div = document.createElement('div');
      div.appendChild(content);
      $(div)
      .find('.remove_this_class')
      .contents()
      .unwrap();
      event.clipboardData.setData('text/html', div.innerHTML);
      event.preventDefault();
      });
  </code></pre>
  <p>However, when i replace text/html with text/paste, it works correctly by the html tags are not rendered.</p>
  <p>Can anyone help me out to fix this for text/html too ?</p>