Hello there
quote any message when quoting editor opens
[/ quote] is happening right next to it when the cursor should be 2 lines down
Need to press enter 2 times
no problem with quick quotes
[attachment=41951]
I wonder if anyone knows anything about this.
you can try add code below in codebuttons template
find:
{$sourcemode}
replace:
{$sourcemode}
if ((document.URL.indexOf('newreply.php') >= 0 || document.URL.indexOf('private.php') >= 0) && !(document.URL.indexOf('processed=1') >= 0)) {
if (MyBBEditor.inSourceMode()) {
var data = MyBBEditor.getSourceEditorValue(false);
data = data.replace(/([\s\S]*)\[\/quote\]/, '$1[/quote]\n\n');
MyBBEditor.setSourceEditorValue(data);
}
else {
var data = MyBBEditor.getWysiwygEditorValue(false);
data = data.replace(/([\s\S]*)<\/blockquote>/, '$1</blockquote><br>');
MyBBEditor.setWysiwygEditorValue(data).focus();
}
}
I can replicate this as of today, a small bug but something we will look to fix. Sorry it's taken so long.
Hi,
Thank you for your report. We have pushed this issue to our Github repository for further analysis where you can track our commits and progress with fixing this bug. Discussions regarding this bug may also take place there too.
Follow this link to visit the issue on Github:
https://github.com/mybb/mybb/issues/4027
Thanks for contributing to MyBB!
Regards,
The MyBB Group