Commits

Arun Karunagath committed 6baf3ac

sanitized ckeditor config to be on a safer side and as a side effect admin panels loads faser now ;)

  • Participants
  • Parent commits 56b97b1

Comments (0)

Files changed (1)

File src/ExTestTool/settings.py

 
 CKEDITOR_CONFIGS = {
     'default': {
+        'toolbar': [
+            [      'Undo', 'Redo',
+              '-', 'Bold', 'Italic', 'Underline',
+              '-', 'Subscript', 'Superscript',
+              '-', 'Format', 
+              '-', 'Maximize',
+            ],
+            [      'HorizontalRule',
+              '-', 'Table',
+              '-', 'BulletedList', 'NumberedList',
+              '-', 'Cut','Copy','Paste','PasteText','PasteFromWord',
+              '-', 'SpecialChar',
+              '-', 'Source',
+            ]
+        ],
         'width': 940,
         'height': 300,
         'toolbarCanCollapse': False,
     },
     'options': {
+        'toolbar': [
+            [      'Undo', 'Redo',
+              '-', 'Bold', 'Italic', 'Underline',
+              '-', 'Subscript', 'Superscript',
+              '-', 'Format', 
+              '-', 'Maximize',
+            ],
+            [      'HorizontalRule',
+              '-', 'Table',
+              '-', 'BulletedList', 'NumberedList',
+              '-', 'Cut','Copy','Paste','PasteText','PasteFromWord',
+              '-', 'SpecialChar',
+              '-', 'Source',
+            ]
+        ],
         'width': 450,
         'height': 200,
         'toolbarCanCollapse': False,