MyBB Community Forums

Full Version: Change enablePasteFiltering to true
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I noticed today that in Mybb 1.8 the option enablePasteFiltering is not true in SCEditor...

In plugin of SCEditor for Mybb 1.6 created by author of SCEditor this option is enabled.
https://github.com/samclarke/SCEditor-My...er.js#L381

I believe that this option reduce issue with paste actions.

What SCEditor documentation said about enablePasteFiltering:

Quote:enablePasteFiltering bool Defaults to false

If to enable paste filtering. When text is pasted it will be filtered through any plugins.

With the BBCode plugin this will cause any HTML without a valid BBCode to be stripped.

http://www.sceditor.com/documentation/options/
It was added a while ago when a bug was fixed, wasn't it? https://github.com/mybb/mybb/blob/featur...xml#L13744
(2014-09-12, 02:50 PM)Destroy666 Wrote: [ -> ]It was added a while ago when a bug was fixed, wasn't it? https://github.com/mybb/mybb/blob/featur...xml#L13744

sorry...
but who add this?
i see history of mybb_theme.xml and i canĀ“t determinate who added this commit...

anyway thanks... Big Grin