2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2025-12-14 22:17:13 +00:00

Revert "Added some test pages showing different ways pages could be edited. This probably wants removing soon"

This reverts commit 2af88353f3.
This commit is contained in:
Martin Green
2022-06-28 00:24:57 +01:00
parent 2af88353f3
commit dbe6d10fff
6 changed files with 3 additions and 192 deletions

View File

@@ -127,26 +127,7 @@ X_FRAME_OPTIONS = 'DENY' # changed to "DENY" after I eliminated all the iframes
DEFAULT_AUTO_FIELD = 'django.db.models.BigAutoField' # from Django 3.2
TINYMCE_JS_URL = 'https://cloud.tinymce.com/stable/tinymce.min.js'
TINYMCE_DEFAULT_CONFIG = {
"height": "320px",
"width": "960px",
"menubar": "file edit view insert format tools table help",
"plugins": "advlist autolink lists link image charmap print preview anchor searchreplace visualblocks code "
"fullscreen insertdatetime media table paste code help wordcount spellchecker",
"toolbar": "undo redo | bold italic underline strikethrough | fontselect fontsizeselect formatselect | alignleft "
"aligncenter alignright alignjustify | outdent indent | numlist bullist checklist | forecolor "
"backcolor casechange permanentpen formatpainter removeformat | pagebreak | charmap emoticons | "
"fullscreen preview save print | insertfile image media pageembed template link anchor codesample | "
"a11ycheck ltr rtl | showcomments addcomment code",
"custom_undo_redo_levels": 10,
"language": "es_ES", # To force a specific language instead of the Django current language.
}
TINYMCE_SPELLCHECKER = True
TINYMCE_COMPRESSOR = True
INSTALLED_APPS = (
'tinymce',
'django.contrib.admin',
'django.contrib.auth', # includes the url redirections for login, logout
'django.contrib.contenttypes',