From a8ecdb2de95c7ec138bb882f52f0daf1be448e1a Mon Sep 17 00:00:00 2001 From: Patrick Mayr Date: Sat, 30 Jul 2022 11:32:34 +0000 Subject: [PATCH] add new ckeditor config --- fet2020/fet2020/settings.py | 49 +++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) diff --git a/fet2020/fet2020/settings.py b/fet2020/fet2020/settings.py index d8651146..2d73b414 100644 --- a/fet2020/fet2020/settings.py +++ b/fet2020/fet2020/settings.py @@ -289,6 +289,55 @@ CKEDITOR_CONFIGS = { }, ], }, + "intern": { + "toolbar": "Custom", + "width": "100%", + "toolbar_Custom": [ + { + "name": "basicstyles", + "items": [ + "Bold", + "Italic", + "Underline", + "Strike", + "Subscript", + "Superscript", + "-", + "RemoveFormat", + ], + }, + { + "name": "paragraph", + "items": [ + "NumberedList", + "BulletedList", + "-", + "Outdent", + "Indent", + "-", + "Blockquote", + "CreateDiv", + ], + }, + "/", + { + "name": "paragraph2", + "items": [ + "JustifyLeft", + "JustifyCenter", + "JustifyRight", + "JustifyBlock", + ], + }, + { "name": "links", + "items": [ + "Link", + "Unlink", + "Anchor" + ] + }, + ], + }, }