]> git.0d.be Git - panikdb.git/commitdiff
settings: add "small" ckeditor variant, as needed by combo
authorFrédéric Péters <fpeters@0d.be>
Fri, 30 Aug 2019 12:54:58 +0000 (14:54 +0200)
committerFrédéric Péters <fpeters@0d.be>
Fri, 30 Aug 2019 12:54:58 +0000 (14:54 +0200)
panikdb/settings.py

index 4992ae6b1b1fb1d4e619c6da6018e4857ca156aa..c41146a7a61964ddb422c705f58dc0cd990981c8 100644 (file)
@@ -1,6 +1,7 @@
 # Django settings for panikdb project.
 # coding: utf-8
 
+import copy
 import os
 from django.conf import global_settings
 
@@ -206,6 +207,9 @@ CKEDITOR_CONFIGS = {
     },
 }
 
+CKEDITOR_CONFIGS['small'] = copy.copy(CKEDITOR_CONFIGS['default'])
+CKEDITOR_CONFIGS['small']['height'] = 150
+
 HAYSTACK_CONNECTIONS = {
     'default': {
         'ENGINE': 'haystack.backends.solr_backend.SolrEngine',