(2020-05-24, 05:51 PM)panayot Wrote: To remove all formatting when pasting in the visual editor, you need to use a plugin for the editor (https://www.sceditor.com/documentation/p...plaintext/ ). You need to take following steps to make it work:
1. Download https://raw.githubusercontent.com/samcla...aintext.js to your jscripts/sceditor/plugins folder
2. Edit Ungrouped Templates / codebuttons template and add this line at the beginning:
<script type="text/javascript" src="{$mybb->asset_url}/jscripts/sceditor/plugins/plaintext.js?ver=1821"></script>
Also in this template find the line:
plugins: "undo",
and change it to
plugins: "undo,plaintext",
Did all of this, and the error is saying sceditor on line 59 (the last line) is undefined:
}(sceditor));
Any idea of a solution?