CKEditor Migration Successfully Completed

This commit is contained in:
Maximilian 2025-06-07 20:10:08 +02:00
parent 78fadaa1da
commit b860590127
11 changed files with 148 additions and 56 deletions

View file

@ -39,8 +39,7 @@ THIRD_PARTY_APPS = [
'allauth.account',
'bootstrap_datepicker_plus',
'bootstrap_modal_forms',
'ckeditor',
'ckeditor_uploader',
'django_ckeditor_5',
]
# Local apps
@ -151,11 +150,10 @@ LOGOUT_REDIRECT_URL = '/'
CRISPY_ALLOWED_TEMPLATE_PACKS = 'bootstrap5'
CRISPY_TEMPLATE_PACK = 'bootstrap5'
# CKEditor settings for tests
CKEDITOR_UPLOAD_PATH = tempfile.mkdtemp()
CKEDITOR_CONFIGS = {
# CKEditor 5 settings for tests
CKEDITOR_5_CONFIGS = {
'default': {
'toolbar': 'Basic',
'toolbar': ['bold', 'italic', 'underline', '|', 'bulletedList', 'numberedList'],
},
}