There's a CKEditor plugin that outputs BBCode. Now that Drupal text formats can set an editor, and Drupal ships with CKEditor, it might be worth looking at somehow putting this together.

http://ckeditor.com/addon/bbcode

It even seems to be somewhat extendable.

Comments

cburschka’s picture

Version: 8.x-2.x-dev » 8.x-3.x-dev
Dylan A’s picture

Component: User interface » Core
StatusFileSize
new28.61 KB

Here is a submodule which implement a compatibility with CKEditor.

Dylan A’s picture

Status: Active » Needs review
dillix’s picture

Version: 8.x-3.x-dev » 6.0.x-dev
Status: Needs review » Postponed

BBCode support was dropped from CKEditor 5:

There's no support for BBCode and we don't plan to work on it. It was always problematic in CKEditor 4 as, similarly to Markdown, it does not translate well to HTML semantics and has multiple flavors.

Ref: https://github.com/ckeditor/ckeditor5/issues/6725#issuecomment-623327399

So I'm marking this issue as postponed till there will be support for BBCode in feature versions of CKE.