0

I am looking for a way to make contenteditable div return me text only data. How can this be achived in a cross browser manner.

The default behaviour gives me html text. And pasting text from browser into "contenteditable div" also paste the html text.

I would like "contenteditable div" to behave just like a text pad with plain text only.

jsbisht
  • 9,079
  • 7
  • 50
  • 55

0 Answers0