Bbcode module provides a filter to use BBCode tags in Drupal posts. Although BUEditor allows usage of BBCode tags by default, its most important features such as instant preview or IMCE integrated image and link dialogs works for only HTML tags. This is because any other tag system requires extra process to be converted into HTML.
Below is a re-implementation of default buttons that allow insertion and instant preview of BBCode tags. The code in the demo contains most of the tags that are supported for previewing.
Note: You can combine BBCode preview with Smiley preview by copying SMLY2HTML function and changing BBC2HTML(E.oriCnt = E.getContent()) to SMLY2HTML(BBC2HTML(E.oriCnt = E.getContent())) in Preview button's content.
hi.. really nice editor. it
hi.. really nice editor. it should be better when bbcode tags highlighted.