title: Strip tags on pasting into a contenteditable DOM element
body: <p>My aim is to strip all tags on pasting into a contenteditable DOM element. I'm using <a href="https://github.com/avryl/wp-front-end-editor" rel="nofollow">WordPress Front-end Editor</a> which is a <a href="http://make.wordpress.org/core/features-as-plugins/" rel="nofollow">featured plugin</a> that may graduate into the WordPress core.</p>
  
  <p>When pasting content into the title editable region, the plugin currently strips tags <code>onblur</code>. This results in the formatting being visible until focus is lost (then tags are stripped out). For how this is current done, see:
  <a href="https://github.com/avryl/wp-front-end-editor/blob/master/js/wp-front-end-editor.js#L118" rel="nofollow">https://github.com/avryl/wp-front-end-editor/blob/master/js/wp-front-end-editor.js#L118</a></p>
  
  <p>I need the tags to be stripped out when pasting so that the copied styles and formatting aren't displayed. I thought about using the <code>paste</code> event to strip tags on paste but am unsure exactly how to implement it. </p>
  
  <p>I tried replacing <code>'blur'</code> with <code>'paste'</code> but that didn't work.</p>
  
  <p>Hoping somebody can help?</p>