Man I have a div with attribute of contentEditable
to true!
I made it because I wanted it to act like a textarea which changes its height according to its text! Works Perfect
But when I copy a hyperlink and paste it in my div instead of being plain text it have anchor element...Same with other if I select some part of any website and paste it in that contenteditable div it shows all the HTML. I want that div to show only plain text and disable all elements in it!
Working Fiddle: http://jsfiddle.net/4ctVx/
Just Copy any HTML in it and it will also show youdiv with that HTML. I want that to be disabled and div to show only plain text!