From d67ab22db1ad9a21b707cd8151a038388cb6af6e Mon Sep 17 00:00:00 2001 From: Ernesto Rico Schmidt <ernesto@helsinki.at> Date: Wed, 12 Jan 2022 18:43:05 -0400 Subject: [PATCH] Remove TINYMCE_DEFAULT_CONFIG from the settings --- steering/settings.py | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/steering/settings.py b/steering/settings.py index ad2ef047..0f71d175 100644 --- a/steering/settings.py +++ b/steering/settings.py @@ -124,7 +124,6 @@ INSTALLED_APPS = ( 'django.contrib.staticfiles', 'program', 'profile', - 'tinymce', 'versatileimagefield', 'rest_framework', 'rest_framework_nested', @@ -137,20 +136,6 @@ INSTALLED_APPS = ( # Will apply to all uploaded images THUMBNAIL_SIZES = ['640x480', '200x200', '150x150'] -# TINYMCE_JS_URL = '/static/js/tiny_mce/tiny_mce.js' -TINYMCE_DEFAULT_CONFIG = { - # 'plugins': 'contextmenu', - 'selector': 'textarea', - 'theme': 'advanced', - 'theme_advanced_toolbar_location': 'top', - 'theme_advanced_buttons1': 'bold,italic,underline,separator,bullist,numlist,separator,link,unlink,separator,undo,redo,separator,formatselect', - 'theme_advanced_blockformats': 'p,h1,h2,h3,blockquote', - 'theme_advanced_font_sizes': '14px,16px', - 'cleanup_on_startup': True, - 'width': 620, - 'height': 400, -} - # When generating schedules/timeslots: # If until date wasn't set manually, add x days to the start date AUTO_SET_UNTIL_DATE_TO_DAYS_IN_FUTURE = 365 -- GitLab