Skip to content
Snippets Groups Projects
Commit d67ab22d authored by Ernesto Rico Schmidt's avatar Ernesto Rico Schmidt
Browse files

Remove TINYMCE_DEFAULT_CONFIG from the settings

parent ea3e051e
No related branches found
No related tags found
No related merge requests found
...@@ -124,7 +124,6 @@ INSTALLED_APPS = ( ...@@ -124,7 +124,6 @@ INSTALLED_APPS = (
'django.contrib.staticfiles', 'django.contrib.staticfiles',
'program', 'program',
'profile', 'profile',
'tinymce',
'versatileimagefield', 'versatileimagefield',
'rest_framework', 'rest_framework',
'rest_framework_nested', 'rest_framework_nested',
...@@ -137,20 +136,6 @@ INSTALLED_APPS = ( ...@@ -137,20 +136,6 @@ INSTALLED_APPS = (
# Will apply to all uploaded images # Will apply to all uploaded images
THUMBNAIL_SIZES = ['640x480', '200x200', '150x150'] 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: # When generating schedules/timeslots:
# If until date wasn't set manually, add x days to the start date # If until date wasn't set manually, add x days to the start date
AUTO_SET_UNTIL_DATE_TO_DAYS_IN_FUTURE = 365 AUTO_SET_UNTIL_DATE_TO_DAYS_IN_FUTURE = 365
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment