diff --git a/BestNotesProject/settings.py b/BestNotesProject/settings.py index a38ff4b..c51932f 100644 --- a/BestNotesProject/settings.py +++ b/BestNotesProject/settings.py @@ -132,6 +132,8 @@ TINYMCE_JS_URL = "https://cdn.tiny.cloud/1/no-api-key/tinymce/5.1.4-66/tinymce.m TINYMCE_DEFAULT_CONFIG = { 'height' : 500, + 'skin': 'oxide-dark', + 'content_css': 'dark', 'plugins': "image,imagetools,media,codesample,link,code", 'cleanup_on_startup': True, 'menubar': False, diff --git a/bestnotes/static/shownote.js b/bestnotes/static/shownote.js index 76a0bb7..bc793fe 100644 --- a/bestnotes/static/shownote.js +++ b/bestnotes/static/shownote.js @@ -2,8 +2,10 @@ tinymce.init({ selector: '.tmpTextArea', menubar: false, + skin: 'oxide-dark', + content_css: 'dark', plugins: [ - 'advlist autolink lists link image charmap print preview anchor', + 'autoresize advlist autolink lists link image charmap print preview anchor', 'searchreplace visualblocks code fullscreen', 'insertdatetime media table contextmenu paste code' ], diff --git a/bestnotes/templates/add.html b/bestnotes/templates/add.html index 95a6951..f2509b1 100644 --- a/bestnotes/templates/add.html +++ b/bestnotes/templates/add.html @@ -8,12 +8,14 @@