summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErnesto Rico Schmidt <ernesto@helsinki.at>2024-08-08 20:36:35 (GMT)
committerErnesto Rico Schmidt <ernesto@helsinki.at>2024-08-08 20:36:35 (GMT)
commitc5629ea3f166faa5743ce342be1f401776ad796f (patch)
tree89dcd7d785f9d903e7f5a9fa6833fa5a4ee063ca
parent017117b068ed8496ea36fe4fc505ccbca880de3d (diff)
Tweak tinyMCE buttons and remove imagestable
-rw-r--r--pv/settings.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/pv/settings.py b/pv/settings.py
index 783582c..8e6922a 100644
--- a/pv/settings.py
+++ b/pv/settings.py
@@ -99,6 +99,9 @@ TINYMCE_DEFAULT_CONFIG = {
'theme_advanced_toolbar_location': 'top',
'theme_advanced_toolbar_align': 'center',
'theme_advanced_statusbar_location': 'bottom',
+ 'theme_advanced_buttons1': 'bold,italic,underline,strikethrough,|,justifyleft,justifycenter,justifyright,justifyfull,|,styleselect,formatselect',
+ 'theme_advanced_buttons2': 'bullist,numlist,|,outdent,indent,|,undo,redo,|,link,unlink,anchor,cleanup,help,code',
+ 'theme_advanced_buttons3': 'hr,removeformat,visualaid,|,sub,sup,|,charmap',
'theme_advanced_resizing': 'true',
'theme_advanced_path': 'false',
'theme_advanced_buttons3_add': 'separator,pastetext,pasteword,selectall',