diff --git a/djangocms_text_ckeditor/settings.py b/djangocms_text_ckeditor/settings.py index 5bf3ec4d5..4b70bebed 100644 --- a/djangocms_text_ckeditor/settings.py +++ b/djangocms_text_ckeditor/settings.py @@ -1,3 +1,4 @@ +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 _ @@ -6,12 +7,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', {}), }