When copying text from other places, even the styles are copied. How to clear the original tags and styles?
黄舟2017-06-30 09:55:13
Reference: https://stackoverflow.com/que...
Example: (may not open)
http://jsfiddle.net/ch6yn/
The following is an example I wrote myself:
<p id="editArea" contenteditable oninput="this.innerHTML = this.innerText">
</p>