From ed2012cd40035da6121f45dbb41b606665ae9170 Mon Sep 17 00:00:00 2001 From: rscnt Date: Sat, 13 Jun 2015 22:22:36 -0600 Subject: [PATCH] settings: added ckeditor configuration --- dynamicweb/settings.py | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/dynamicweb/settings.py b/dynamicweb/settings.py index c689e791..da227622 100644 --- a/dynamicweb/settings.py +++ b/dynamicweb/settings.py @@ -392,6 +392,17 @@ BLOG_POSTS_LIST_TRUNCWORDS_COUNT = 100 BLOG_MULTISITE = True BLOG_AUTHOR_DEFAULT = True +CKEDITOR_SETTINGS = { + 'language': '{{ language }}', + 'toolbar_CMS': [ + ['Undo', 'Redo'], + ['cmsplugins', '-', 'ShowBlocks'], + ['Format', 'Styles'], + ], + 'skin': 'moono', +} + + try: from .local.local_settings import * except ImportError as e: