2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2024-11-26 17:21:52 +00:00

Added variables to configure TinyMCE

This commit is contained in:
Martin Green 2011-05-01 19:17:57 +01:00
parent 135b1bd2c5
commit 4b2d18be69

View File

@ -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.
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.