Added more features to CKeditor toolbar.

This commit is contained in:
Jan Böhmer 2019-10-12 18:53:15 +02:00
parent d11a436e74
commit b478170d7f

View file

@ -9,7 +9,7 @@ fos_ck_editor:
configs: configs:
complex_config: complex_config:
extraPlugins: "markdown" extraPlugins: "markdown"
toolbar: standard toolbar: comment_toolbar
simple_config: simple_config:
extraPlugins: "markdown" extraPlugins: "markdown"
toolbar: basic toolbar: basic
@ -33,4 +33,20 @@ fos_ck_editor:
toolbars: toolbars:
configs: configs:
description_toolbar: [ ["Source", "-", 'Bold', 'Italic', "-", "RemoveFormat", "-", "Smiley", "SpecialChar"] ] description_toolbar:
- [ 'Bold', 'Italic', 'Strike', 'Subscript', 'Superscript', '-', 'RemoveFormat' ]
- ["SpecialChar"]
- ["Source"]
comment_toolbar:
- ['Cut', 'Copy', 'Paste', 'PasteText', 'PasteFromWord', '-', 'Undo', 'Redo']
- [ 'Find', 'Replace', '-', 'SelectAll', '-', 'Scayt' ]
- [ 'Styles', 'Format']
- [ 'TextColor']
- [ 'Maximize', 'ShowBlocks' ]
- [ 'Source', '-', 'About']
- '/'
- [ 'Bold', 'Italic', 'Strike', 'Subscript', 'Superscript', '-', 'RemoveFormat' ]
- [ 'NumberedList', 'BulletedList', '-', 'Outdent', 'Indent', '-', 'Blockquote', 'CreateDiv', '-', 'JustifyLeft', 'JustifyCenter', 'JustifyRight', 'JustifyBlock']
- [ 'Link', 'Unlink' ]
- [ 'Image', 'Table', 'HorizontalRule', 'SpecialChar' ]