remove all html tags in tinyeditor WYSIWYG editor

841 views Asked by At

is there have anyway to remove all html tags when we paste something into WYSIWYG editor.

to tinyeditor

1

There are 1 answers

0
My Mai On

I think you wanna reset content body after you post something:

editor.e.body.innerHTML = ""

I hope it can help you