The current bbcode system uses javascript to convert a string into bbcode. Create a rails based system that the editor can call on via ajax. Having rails convert the string allows for more complexed bbcodes that vBulletin uses. Also, change the editor so it doesn't use WYSIWYG. It's not a highly demanding feature and doesn't work well when formatting custom or complexed bbcode.
The current bbcode system uses javascript to convert a string into bbcode. Create a rails based system that the editor can call on via ajax. Having rails convert the string allows for more complexed bbcodes that vBulletin uses. Also, change the editor so it doesn't use WYSIWYG. It's not a highly demanding feature and doesn't work well when formatting custom or complexed bbcode.