]> gitweb.fperrin.net Git - djsite.git/blobdiff - djsite/settings.py
Remove the buttons escaped by bleach from the tinymce editor
[djsite.git] / djsite / settings.py
index f8a06058a40bfdae467122d72b49b110c328ddc6..8a7b5a17ce6f139909eeaaf0d983b6c4ced04e81 100644 (file)
@@ -105,8 +105,8 @@ STATIC_URL = '/static/'
 
 TINYMCE_DEFAULT_CONFIG = {
 #    'theme_advanced_buttons1' : ['bold', 'underline', 'italic', 'separator', 'insertdate', 'inserttime'],
-    'theme_advanced_buttons1' : 'undo,redo,cut,copy,paste,|,bold,italic,underline,strikethrough,fontsizeselect,removeformat,|,bullist,numlist,|,link,unlink',
-    'theme_advanced_buttons2' : 'tablecontrols,table,row_props,cell_props,delete_col,delete_row,col_after,col_before,row_after,row_before,split_cells,merge_cells',
+    'theme_advanced_buttons1' : 'undo,redo,cut,copy,paste,|,bold,italic,removeformat,|,bullist,numlist,|,link,unlink',
+    'theme_advanced_buttons2' : '',
     'theme_advanced_buttons3' : "",
     'plugins': 'table',
 }