settings in its own modules

This commit is contained in:
Gunther Weissenbaeck 2023-10-10 08:07:03 +02:00
parent cb0696b0bd
commit b81fbf7c94
4 changed files with 117 additions and 64 deletions

15
app/core/ckeditor.py Normal file
View file

@ -0,0 +1,15 @@
# -----------------------------------
# CKEDITOR CONFIGURATION
# -----------------------------------
CKEDITOR_BASEPATH = "/static/ckeditor/ckeditor/"
CKEDITOR_UPLOAD_PATH = "media"
CKEDITOR_CONFIGS = {
"default": {
"removePlugins": "exportpdf",
"height": 300,
"width": "100%",
"allowedContent": True,
}
}