Contribute to this guideReport an issue

guideBBCode Editing

This feature is provided through an optional plugin that is not included in the CKEditor 4 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 4 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 4 to Work on BBCode

This feature is aimed at developers who would like to integrate CKEditor 4 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 4 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 4 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 4.