CKEditor 3.6 introduced a new BBCode plugin that makes it possible to configure CKEditor to output BBCode instead of HTML.
For some tips on how to achieve this, check the BBCode Plugin (bbcode.html
) sample that can be found in the _samples
directory of CKEditor installation package or viewed live on the nightly build.
By default, the BBCode plugin is turned off, so if you want to use it, you need to enable it first.
CKEDITOR.replace( 'editor1', { extraPlugins : 'bbcode' });
A more refined configuration code can be found in the BBCode plugin sample.