2019-03-13 19:36:46 +01:00
|
|
|
# Read the documentation: https://symfony.com/doc/current/bundles/FOSCKEditorBundle/index.html
|
|
|
|
|
|
|
|
twig:
|
|
|
|
form_themes:
|
|
|
|
- '@FOSCKEditor/Form/ckeditor_widget.html.twig'
|
|
|
|
|
|
|
|
fos_ck_editor:
|
|
|
|
default_config: complex_config
|
|
|
|
configs:
|
|
|
|
complex_config:
|
2019-10-11 19:01:07 +02:00
|
|
|
extraPlugins: "markdown"
|
2019-03-13 19:36:46 +01:00
|
|
|
toolbar: standard
|
|
|
|
simple_config:
|
2019-10-11 19:01:07 +02:00
|
|
|
extraPlugins: "markdown"
|
2019-03-13 19:36:46 +01:00
|
|
|
toolbar: basic
|
2019-08-19 14:07:00 +02:00
|
|
|
description_config:
|
2019-10-11 19:01:07 +02:00
|
|
|
extraPlugins: "markdown"
|
2019-08-19 14:07:00 +02:00
|
|
|
height: 60
|
|
|
|
toolbar: description_toolbar
|
2019-03-13 19:36:46 +01:00
|
|
|
|
|
|
|
|
|
|
|
plugins:
|
|
|
|
bbcode:
|
2019-03-27 20:24:01 +01:00
|
|
|
path: "ckeditor/plugins/bbcode/" # with trailing slash
|
2019-08-19 14:07:00 +02:00
|
|
|
filename: "plugin.js"
|
2019-10-11 19:01:07 +02:00
|
|
|
markdown:
|
|
|
|
path: "ckeditor/plugins/markdown/"
|
|
|
|
filename: "plugin.js"
|
2019-08-19 14:07:00 +02:00
|
|
|
specialchar:
|
|
|
|
path: "ckeditor/plugins/specialchar"
|
|
|
|
filename: "plugin.js"
|
|
|
|
|
|
|
|
|
|
|
|
toolbars:
|
|
|
|
configs:
|
|
|
|
description_toolbar: [ ["Source", "-", 'Bold', 'Italic', "-", "RemoveFormat", "-", "Smiley", "SpecialChar"] ]
|