Skip to content

Commit

Permalink
Remove Flash plugin in the default settings (#656)
Browse files Browse the repository at this point in the history
Co-authored-by: Jens-Erik Weber <Jens-Erik Weber [email protected]>
  • Loading branch information
MacLake and Jens-Erik Weber authored Oct 23, 2023
1 parent 898eb21 commit e20b626
Showing 1 changed file with 4 additions and 1 deletion.
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

0 comments on commit e20b626

Please sign in to comment.