How Do I Output BBCode Instead of HTML Code Using CKEditor?

This website contains links to software which is either no longer maintained or will be supported only until the end of 2019 (CKFinder 2). For the latest documentation about current CKSource projects, including software like CKEditor 4/CKEditor 5, CKFinder 3, Cloud Services, Letters, Accessibility Checker, please visit the new documentation website.

If you look for an information about very old versions of CKEditor, FCKeditor and CKFinder check also the CKEditor forum, which was closed in 2015. If not, please head to StackOverflow for support.

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.

This page was last edited on 12 May 2011, at 11:55.