BES-6 Remove Powered by Tiny, add word count instead

This commit is contained in:
Th3NiKo 2020-01-19 11:10:45 +01:00
parent 7b218b744d
commit 19274c4f3f
2 changed files with 5 additions and 3 deletions

View File

@ -128,13 +128,14 @@ USE_TZ = True
STATIC_URL = '/static/'
TINYMCE_JS_URL = "https://cdn.tiny.cloud/1/no-api-key/tinymce/5.1.4-66/tinymce.min.js"
TINYMCE_JS_URL = "https://cdn.tiny.cloud/1/r9o35nobg5gdj46hhxw3ohwbjh4yct23kx405ozckt8fj2k2/tinymce/5.1.4-66/tinymce.min.js"
TINYMCE_DEFAULT_CONFIG = {
'height' : 500,
'skin': 'oxide-dark',
'branding': False,
'content_css': 'dark',
'plugins': "image,imagetools,media,codesample,link,code",
'plugins': "image,imagetools,media,codesample,link,code,wordcount",
'cleanup_on_startup': True,
'menubar': False,
'contextmenu': "cut, copy, link, media, ",

View File

@ -3,11 +3,12 @@ tinymce.init({
selector: '.tmpTextArea',
menubar: false,
skin: 'oxide-dark',
branding: false,
content_css: 'dark',
plugins: [
'autoresize advlist autolink lists link image charmap print preview anchor',
'searchreplace visualblocks codesample fullscreen',
'insertdatetime media table contextmenu paste code'
'insertdatetime media table paste code'
],
readonly: 1,
toolbar: false,