Contribute to this guideReport an issue

guideBBCode Editing

This feature is provided through an optional plugin that is not included in the CKEditor distribution packages available from the Download site and needs to be added to your custom build with online builder.

BBCode is a lightweight markup language which is used in some message board engines. An optional CKEditor plugin called BBCode Output Format configures CKEditor to output BBCode format instead of (X)HTML. It also customizes some editor settings to better match the BBCode environment.

The image below shows an example of the editor content created in BBCode format, as displayed in the source view.

# Customizing CKEditor to Work on BBCode

This feature is aimed at developers who would like to integrate CKEditor with popular message boards or other platforms that use BBCode as their default format. Since BBCode formatting usually includes a subset of features available in traditional HTML editing, CKEditor used in this environment needs some customization. This involves creating a custom editor build that only includes relevant features, removing redundant buttons or customizing some plugin options (like adjusting smilies).

Please note that currently no official standard exists for the BBCode markup language, so its implementation for different platforms may vary. This means that before using CKEditor to output BBCode you might need to adjust the default implementation to your own environment.

# BBCode Output Demo

See the working “BBCode Editing” sample that showcases a CKEditor instance configured to output BBCode and customized to be a better fit for a typical BBCode environment.

See the Source Code Editing feature that lets the users edit raw BBCode source of the editor content directly in CKEditor.