title: Prevent a copy/paste to copy the style of a web page to a Rich Text Editor
body: <p>I'm trying for two days now several JavaScript lightweight Rich Text Editors (rte) such as <a href="http://nicedit.com/" rel="nofollow noreferrer">nicEdit</a>, <a href="http://cheeaun.github.com/mooeditable/" rel="nofollow noreferrer">mooEditable</a>, <a href="http://siteroller.net/projects/moorte/" rel="nofollow noreferrer">MooRTE</a> (the two last ones were considered because they use the mootools framework which I'm using for this project).</p>
  
  <p>My problem is that with all of them, when I copy a pre-formated text from a web page (with words in bold, links etc...) and then paste it into the editor, it appears already formated. </p>
  
  <p>This could be nice but that's a security problem because if I copy/paste a whole web page it will render the whole web page in the editor.</p>
  
  <p>I just want my users to be able to do some basic formatting with the editor such as putting some text in bold, italic, add a link and indent their paragraphs.</p>
  
  <p>An alternative could be <a href="http://attacklab.net/showdown/" rel="nofollow noreferrer">showdown</a> (which - I would bet - is used by stackoverflow), because this type of editors (with a preview box) don't suffer from the aforementioned issue (when you paste something in the textarea, it is unformatted text).
  However, I'm not sure this would be appropriated to my case because the editor would be used to write long articles (much longer than most of the stackoverflow posts). In that case I think it would be better to have a proper editor that renders things instantly (I mean right in the textarea, not in a preview box). And a real WYSIWYG editor is more enticing and easy to use, in my opinion. </p>
  
  <p>Is there a easy way to modify a RTE so that when I paste some text it is rendered unformatted?
  Or do you think I should use the sort of solution that stackoverflow uses? (<a href="http://attacklab.net/showdown/" rel="nofollow noreferrer">showdown</a> or similar) Or do you know a RTE that doesn't have the copy-paste issue that I mentioned? </p>
  
  <p>Note that I didn't try CKeditor, FCKEditor and TinyMCE because they are far too complex(heavy) and the one from YUI looks good but needs the whole library to work.</p>
  
  <p>Thanks,</p>
  
  <p>FuzzyTern</p>