BES-6 Remove Powered by Tiny, add word count instead
This commit is contained in:
parent
7b218b744d
commit
19274c4f3f
|
@ -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, ",
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue