How to make tinymce paste in plain text by default

后端 未结 11 993
忘掉有多难
忘掉有多难 2020-12-02 04:24

Googled it thousands of times, No one gives a complete solution of how to make Tinymce paste in plain text by default and strip out any formatting without clicking the \"pas

11条回答
  •  渐次进展
    2020-12-02 05:08

    I'm not sure this is possible, since "paste as plaintext" actually performs cleanup on the text before it adds it to the window. If you just paste data into the window, no operations can be done. (Unless you hooked into the onChange or something), but they you might end up fixing code that had already been pasted and thus, 'double fixing' it.

提交回复
热议问题