XF 2.0 Editing aggressive code cleanup

dirtfilledcarriage

Member
Licensed customer
Is there any way to prevent the editor from messing with content within code tags? Members of our forum use code tags quite a bit, and often to make forms or examples out of bbcode. However, the editor aggressively strips these, as well as some formatting options. I'm writing this in the non-editor mode to make it clear what I mean but for instance, if someone writes this:

Code:
[b]Thing one:[/b]
[b]Thing two:[/b]

it will strip to

Code:
[b]Thing one:
Thing two:[/b]

similarly, writing something like this works if not done in the editor mode:

Code:
[color=#333333]Here is my list!

[list]
[*] example
[*] example
[/list][/color]

and will produce a list that is all the same color, but if one flips over to editor mode, it will produce this:

Code:
[color=#333333]Here is my list!
[/COLOR]
[list]
[*] example
[*] example
[/list][/color]

is there any way to just disable stripping between code tags, or even bbcode cleanup entirely while using the editor mode? I do very much like the editor but it seems strange to have it cleaning up between tags on post when the whole purpose of a code tag is to paste the code as-is.
 
Back
Top Bottom