浏览代码

Añade license_key

Celestino Rey 5 月之前
父节点
当前提交
a771aa209f
共有 1 个文件被更改,包括 2 次插入15 次删除
  1. 2 15
      src/doc_generator/settings.py

+ 2 - 15
src/doc_generator/settings.py

@@ -156,21 +156,8 @@ DEFAULT_AUTO_FIELD = 'django.db.models.BigAutoField'
 # doc_generator/settings.py (at the end of the file)
 
 TINYMCE_DEFAULT_CONFIG = {
+    "theme": "silver",
     "height": "320px",
     "width": "100%",
-    "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",
-    "toolbar": "undo redo | bold italic underline strikethrough | fontselect fontsizeselect formatselect | alignleft "
-               "aligncenter alignright alignjustify | outdent indent |  numlist bullist | forecolor "
-               "backcolor removeformat | pagebreak | charmap emoticons | fullscreen  preview save print | "
-               "insertfile image media template link anchor codesample | ltr rtl",
-    "custom_undo_redo_levels": 10,
-    
-    "images_upload_url": reverse_lazy('tinymce_image_upload'),
-    
-    "relative_urls": False,  # Important for correct media URL handling in PDFs
-    "remove_script_host": True,  # Important for correct media URL handling in PDFs
-    
-    "file_picker_types": "image",
+    "license_key": "gpl"
 }