mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-08-04 18:25:04 +02:00
Added CKEditor field to edit bbcode WYSIWYG style.
This commit is contained in:
parent
2c005dbe3f
commit
daad7ec60a
12 changed files with 1214 additions and 2 deletions
21
config/packages/fos_ckeditor.yaml
Normal file
21
config/packages/fos_ckeditor.yaml
Normal 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"
|
Loading…
Add table
Add a link
Reference in a new issue