SCeditor bug handling bbcode inside code tags December 11, 2015, 01:15:28 am I never understood why BBC has to be like that:Code: [Select][b][i]text[/i][/b]...and can't be like that:Code: [Select][b][i]text[/b][i][i][/i]Can't the editor (or what's so ever is responsible for this) look for the ending code, wherever it stands? I as human can think like this:"Oh, there's a [b], let's keep this in mind. Oh, there's a [i] know, let's keep this in mind too. Oh, now [b] is closed with an [/b], but [i] is still open, so the text should now be only italic. Oh, there's the [/i], back to normal text now."Can't the editor?Would be much easier for users working with BBC if there could be more flexibility. [/b][/i]
Re: SCeditor bug handling bbcode inside code tags Reply #1 – December 11, 2015, 01:17:54 am Wahhhh!! What happened!?!? My edit has corrupted my post! Click on edit of my post please, it's funny! Most of the text shown above is missing then. Grrrr!
Re: SCeditor bug handling bbcode inside code tags Reply #2 – December 11, 2015, 02:07:03 am Looks like SCEditor doesn't like that much unmatched codes. Use the quick edit for the moment. I can't guess right now if the problem is due to a bug in the editor or a problem with some code we added.
Re: SCeditor bug handling bbcode inside code tags Reply #3 – December 11, 2015, 02:35:20 am QuoteClick on edit of my post please, it's funny! Most of the text shown above is missing then. Grrrr! This was already present before BBC Parsing. This happens from time to time even in SMF 2.0.11. I think that this is due to Firefox.
Re: SCeditor bug handling bbcode inside code tags Reply #4 – December 11, 2015, 02:35:28 am I didn't wrote any unmatched BBCode outside the code block. I don't know why the editor has problems with my post and inserted the lot of [i] in my code block. Before my edit my post was okay, after that it wasn't. I thought all inside the code block will not be interpreted?I don't have a quick edit button here. I only can click "more" "modify". Quote from: wintstar – December 11, 2015, 02:35:20 amThis was already present before BBC Parsing. This happens from time to time even in SMF 2.0.11. I think that this is due to Firefox.I used IE for this post.
Re: SCeditor bug handling bbcode inside code tags Reply #5 – December 11, 2015, 02:46:31 am With Internet Explorer I'm hardly walk. Firefox is just a guess on my part.
Re: SCeditor bug handling bbcode inside code tags Reply #6 – December 11, 2015, 08:24:23 am Quote from: Jorin – December 11, 2015, 02:35:28 amI thought all inside the code block will not be interpreted?Bugs do exist.
Re: SCeditor bug handling bbcode inside code tags Reply #7 – December 11, 2015, 08:39:06 am Reported at:https://github.com/samclarke/SCEditor/issues/493
Re: SCeditor bug handling bbcode inside code tags Reply #8 – December 17, 2015, 05:41:53 pm Looks like he wasn't happy about the report, it basically fell into the ocean
Re: SCeditor bug handling bbcode inside code tags Reply #9 – December 17, 2015, 09:08:19 pm I can't get it to do it either, so not sure whats up ....
Re: SCeditor bug handling bbcode inside code tags Reply #10 – December 18, 2015, 02:01:52 am I hope @Jorin can help then
Re: SCeditor bug handling bbcode inside code tags Reply #11 – December 18, 2015, 02:07:22 am Do you really want me to try to reproduce it?
Re: SCeditor bug handling bbcode inside code tags Reply #12 – December 18, 2015, 01:14:15 pm Quote from: Jorin – December 18, 2015, 02:07:22 amDo you really want me to try to reproduce it? Yes