TinyMCE
This commit is contained in:
parent
ff091dc3e7
commit
1484d6cc6d
1582 changed files with 46295 additions and 15 deletions
|
|
@ -38,6 +38,7 @@ INSTALLED_APPS = [
|
|||
'django.contrib.messages',
|
||||
'django.contrib.staticfiles',
|
||||
'chartjs',
|
||||
'tinymce',
|
||||
'cms',
|
||||
]
|
||||
|
||||
|
|
@ -132,6 +133,16 @@ STUDENT_IMPORT_MAPPING = {
|
|||
|
||||
DOMAINE_COULEURS = {'D1':'#fcaf3e', 'D2': '#cc0000', 'D3': '#ef896b', 'D4': '#ad7fa8', 'D5': '#729fcf', 'D6':'#73d216', 'D7':'#ffffff', 'D8':'#babdb6' }
|
||||
|
||||
TINYMCE_JS_URL = STATIC_URL + 'js/tiny_mce/tiny_mce.js'
|
||||
TINYMCE_DEFAULT_CONFIG = {
|
||||
'plugins': "table,spellchecker,paste,searchreplace",
|
||||
'theme': "advanced",
|
||||
'cleanup_on_startup': True,
|
||||
'custom_undo_redo_levels': 10,
|
||||
}
|
||||
TINYMCE_SPELLCHECKER = True
|
||||
TINYMCE_COMPRESSOR = True
|
||||
|
||||
from .local_settings import *
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue