An on the fly bbcode editor