Welcome to vbmods.rocks! Get FREE and paid vBulletin mods, plugins, addons, API extensions, custom modules, custom BB Codes, vBCloud mods, CORE hacks, JS hacks, custom coding by Glenn, an ex-vBulletin Developer. You must register before you can post, download the files or copy the code from the free plugins.
I tried it and it looks like when pasting the text in the editor, vB is converting the tabs into spaces. That's why when using the [CODE] tags the alignment is off. If the tabs were preserved during pasting, using [CODE] tags should work.
I looked deeper into the code and this issue is not vB's fault. It's the CKEditor that does this not vB. CKEditor is a third-party application used by vB for rich-text editing.
Comment