Added CKEditor field to edit bbcode WYSIWYG style.

This commit is contained in:
Jan Böhmer 2019-03-13 19:36:46 +01:00
parent 2c005dbe3f
commit daad7ec60a
12 changed files with 1214 additions and 2 deletions

View file

@ -0,0 +1,21 @@
# 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:
extraPlugins: "bbcode"
toolbar: standard
simple_config:
extraPlugins: "bbcode"
toolbar: basic
plugins:
bbcode:
path: "/ckeditor/plugins/bbcode/" # with trailing slash
filename: "plugin.js"