title: How to avoid WebKit contentEditable copy-paste resulting in unwanted CSS?
body: <p>I have a <code>&lt;div&gt;</code> that has <code>contentEditable="true"</code>.</p>
  
  <p>When I <strong>copy-paste content within the editable div</strong>, the pasted text gets wrapped into a lot of unwanted CSS.</p>
  
  <p>For example, this:
  <code>&lt;p&gt;text text&lt;/p&gt;</code>
  becomes:</p>
  
  <pre><code>&lt;p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; outline-width: 0px; outline-style: initial; outline-color: initial; font-size: 17px; vertical-align: baseline; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; background-position: initial initial; background-repeat: initial initial; "&gt;text text&lt;/p&gt;
  </code></pre>
  
  <p>I understand the browser (Google Chrome in the current case) tries to be smart and all, but what I end up is completely irrelevant and unwanted CSS.</p>
  
  <p>Is there any way to tell the WebKit-based browser <strong>not</strong> to generate this?</p>