diff --git a/fet2020/fet2020/settings.py b/fet2020/fet2020/settings.py index cb6a6ca1..1a49c131 100644 --- a/fet2020/fet2020/settings.py +++ b/fet2020/fet2020/settings.py @@ -219,6 +219,20 @@ CKEDITOR_CONFIGS = { "attributes": {"class": "code-block"}, }, ], + 'toolbar': 'Custom', + 'toolbar_Custom': [ + {'name': 'styles', 'items': ['Styles', 'Format', 'Font', 'FontSize']}, + {'name': 'tools', 'items': ['Maximize', 'ShowBlocks']}, + {'name': 'document', 'items': ['Source']}, + '/', + {'name': 'basicstyles', + 'items': ['Bold', 'Italic', 'Underline', 'Strike', 'Subscript', 'Superscript', '-', 'RemoveFormat']}, + {'name': 'paragraph', + 'items': ['NumberedList', 'BulletedList', '-', 'Outdent', 'Indent', '-', 'Blockquote', 'CreateDiv', '-', + 'JustifyLeft', 'JustifyCenter', 'JustifyRight', 'JustifyBlock']}, + {'name': 'links', 'items': ['Link', 'Unlink', 'Anchor']}, + {'name': 'insert', 'items': ['Image', 'Flash', 'Table', 'HorizontalRule', 'Smiley', 'SpecialChar']}, + ], } }