View Full Version : paste plaintext using htmleditor

2 Sep 2012, 12:07 AM
I am currently using the htmleditor as my textarea.

Currently when i want to copy and paste some text from the web brower, the html tag and css style will also be pasted to the htmleditor.

How can i remove the html tags and the css styling if i want to paste the text from the web browser, and the css styling of the original text in the htmleditor remain unchange?

Please help! Thanks

16 Sep 2012, 7:34 PM
There are several options:

-override the getValue/cleanHtml functions of the editor
-clean the clipboard text
-use a plugin for a more advanced editor like tinyMCE.

There is nothing built-in that provides this.