From 7a0a898bc626893372d33176a865ed60d9ad1af7 Mon Sep 17 00:00:00 2001 From: Martin Green Date: Sun, 1 May 2011 19:17:57 +0100 Subject: [PATCH] Added variables to configure TinyMCE --- settings.py | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/settings.py b/settings.py index d1a8686..9078f11 100644 --- a/settings.py +++ b/settings.py @@ -90,4 +90,14 @@ INSTALLED_APPS = ( QM_PATTERN="\[\[\s*[Qq][Mm]:([ABC]?)(\d{4})-(\d*)-(\d*)\]\]" -from localsettings import * #localsettings needs to take precedence. Call it to override any existing vars. \ No newline at end of file +TINYMCE_JS_URL = 'http://debug.example.org/tiny_mce/tiny_mce_src.js' +TINYMCE_DEFAULT_CONFIG = { + 'plugins': "table,spellchecker,paste,searchreplace", + 'theme': "advanced", +} +TINYMCE_SPELLCHECKER = False +TINYMCE_COMPRESSOR = True + +MAX_LOGBOOK_ENTRY_TITLE_LENGTH = 200 + +from localsettings import * #localsettings needs to take precedence. Call it to override any existing vars.