[Pushed] Editor error with quote [1.8.21]
#1
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

   
Reply
#2
I wonder if anyone knows anything about this.
Reply
#3
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();	
	}
}
Reply
#4
I can confirm that
[MyBB 1.8 Czech translation] [MyBB 1.8 plugins]: Prune old PMs + optimize DB plugin --- Thank you/like system
Reply
#5
I can replicate this as of today, a small bug but something we will look to fix. Sorry it's taken so long.
-Ben

Please do not PM me for support. I am looking to be hired for paid services.

You can view my paid services here.
Reply
#6
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
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)