From c5629ea3f166faa5743ce342be1f401776ad796f Mon Sep 17 00:00:00 2001 From: Ernesto Rico Schmidt Date: Thu, 8 Aug 2024 16:36:35 -0400 Subject: Tweak tinyMCE buttons and remove image 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', -- cgit v0.10.2