Skip to content
This repository was archived by the owner on Mar 26, 2025. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion djangocms_text_ckeditor/settings.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
from typing import Dict, List, Union

from django.conf import settings
from django.templatetags.static import static
from django.utils.translation import gettext_lazy as _
Expand All @@ -6,12 +8,13 @@
# See http://docs.cksource.com/ckeditor_api/symbols/CKEDITOR.config.html
# for all settings

CKEDITOR_SETTINGS = {
CKEDITOR_SETTINGS: Dict[str, Union[str, List]] = {
'language': '{{ language }}',
'toolbar': 'CMS',
'skin': 'moono-lisa',
'baseFloatZIndex': 10000000,
'toolbarCanCollapse': False,
'removePlugins': ['flash'],
**getattr(settings, 'CKEDITOR_SETTINGS', {}),
}

Expand Down