import bbcode

ankurs

Well-known member
source vb post

PHP:
[center]
something
[code]
1
2
3
4
5[/code]
[/center]

becomes something like below

PHP:
[center]something[/center]
[code]
[center]1[/center]
[center]2[/center]
[center]3[/center]
[center]4[/center]
[center]5[/center][/code]

this messes up the alignment in code data to centre, anyway to fix this ?
 
This came up several times, even had reported as a bug but was marked as a "Editor" problem (TinyMCE)

I'm also waiting someone to come up with a solution for this.
 
Try disabling the rich editor in your user prefs:

http://xenforo.com/community/account/preferences
> Use the rich text editor to create and edit messages

The rich editor hijacks the formatting and BB code. The code may be correct in the post, but when you edit it using the rich editor it gets messy. I have lots of manually formatted posts that I can't edit using the rich editor because it will mess up the code.
 
Top Bottom