mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-08-03 17:55:03 +02:00
Use markdown inside CKEditors.
Markdown offers more features and looks much cleaner than BBCode.
This commit is contained in:
parent
ac3e5d2669
commit
46959b74ed
5 changed files with 441 additions and 3 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue