Not sure if this is possible across all modern browsers, but is there any way, using javascript/jquery to remove all html tags, css formatting, word doc format codes, ect. from a string of text as it is being pasted into an input area of a page (in my case an element set as "contenteditable), so it always goes in as just pure plaintext?
Of course, before even thinking about the cleaning/sanitizing portion of the problem, I first need a reliable way of listening for and capturing text from a paste event, which I'm not sure how to do either.
Thanks in advance!