Not Solved Problem with copied/pasted text
#7
Not Solved
(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 Templatescodebuttons 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?
Reply


Messages In This Thread
Problem with copied/pasted text - by tamarajeep - 2020-05-24, 04:59 PM
RE: Problem with copied/pasted text - by panayot - 2020-05-24, 05:51 PM
RE: Problem with copied/pasted text - by Keatons - 2021-05-11, 10:22 PM
RE: Problem with copied/pasted text - by nixer55 - 2020-05-25, 06:50 PM
RE: Problem with copied/pasted text - by panayot - 2020-05-25, 08:29 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)