Skip to content

Commit

Permalink
Remove Flash plugin in the default settings
Browse files Browse the repository at this point in the history
  • Loading branch information
Jens-Erik Weber authored and Jens-Erik Weber committed Oct 20, 2023
1 parent 898eb21 commit 6fa6705
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion djangocms_text_ckeditor/settings.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
from typing import Dict, List, Union

Check failure on line 1 in djangocms_text_ckeditor/settings.py

View workflow job for this annotation

GitHub Actions / isort

Imports are incorrectly sorted and/or formatted.
from django.conf import settings
from django.templatetags.static import static
from django.utils.translation import gettext_lazy as _
Expand All @@ -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', {}),
}

Expand Down

0 comments on commit 6fa6705

Please sign in to comment.