Use markdown inside CKEditors.

Markdown offers more features and looks much cleaner than BBCode.
This commit is contained in:
Jan Böhmer 2019-10-11 19:01:07 +02:00
parent ac3e5d2669
commit 46959b74ed
5 changed files with 441 additions and 3 deletions

View file

@ -8,13 +8,13 @@ fos_ck_editor:
default_config: complex_config
configs:
complex_config:
extraPlugins: ["bbcode"]
extraPlugins: "markdown"
toolbar: standard
simple_config:
extraPlugins: "bbcode"
extraPlugins: "markdown"
toolbar: basic
description_config:
extraPlugins: "bbcode"
extraPlugins: "markdown"
height: 60
toolbar: description_toolbar
@ -23,6 +23,9 @@ fos_ck_editor:
bbcode:
path: "ckeditor/plugins/bbcode/" # with trailing slash
filename: "plugin.js"
markdown:
path: "ckeditor/plugins/markdown/"
filename: "plugin.js"
specialchar:
path: "ckeditor/plugins/specialchar"
filename: "plugin.js"