From: Frédéric Perrin Date: Tue, 1 Nov 2016 00:45:27 +0000 (+0000) Subject: Remove the buttons escaped by bleach from the tinymce editor X-Git-Url: http://gitweb.fperrin.net/?p=djsite.git;a=commitdiff_plain;h=197a926e7aa265910e3a3ab60f0fcdb21f1e2c89 Remove the buttons escaped by bleach from the tinymce editor --- diff --git a/djsite/settings.py b/djsite/settings.py index f8a0605..8a7b5a1 100644 --- a/djsite/settings.py +++ b/djsite/settings.py @@ -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', }