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

Added variables to configure TinyMCE

This commit is contained in:
Martin Green 2011-05-01 19:17:57 +01:00
parent 41aca4e2d7
commit 7a0a898bc6

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.