subject
div
the contenteditable
function can be copied into or accepted by HTML. If I copy an article from SF to this div, the original HTML
tag of SF will be copied.
Code
<div contenteditable=true"></div>
question
- does not know
js
,jquery
what function can be implemented: if my copied content contains theHTML
tag, then automatically clear its tag, leaving only the text? - there are
< iframe src*=instagram
(or< iframe >
) headers in the content of theHTML
tag, and the otherHTML
header tag is emptied, leaving only the text, and then added todiv
?