Skip to content
This repository was archived by the owner on Mar 26, 2025. It is now read-only.

Commit e20b626

Browse files
MacLakeJens-Erik Weber
andauthored
Remove Flash plugin in the default settings (#656)
Co-authored-by: Jens-Erik Weber <Jens-Erik Weber [email protected]>
1 parent 898eb21 commit e20b626

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

djangocms_text_ckeditor/settings.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
from typing import Dict, List, Union
2+
13
from django.conf import settings
24
from django.templatetags.static import static
35
from django.utils.translation import gettext_lazy as _
@@ -6,12 +8,13 @@
68
# See http://docs.cksource.com/ckeditor_api/symbols/CKEDITOR.config.html
79
# for all settings
810

9-
CKEDITOR_SETTINGS = {
11+
CKEDITOR_SETTINGS: Dict[str, Union[str, List]] = {
1012
'language': '{{ language }}',
1113
'toolbar': 'CMS',
1214
'skin': 'moono-lisa',
1315
'baseFloatZIndex': 10000000,
1416
'toolbarCanCollapse': False,
17+
'removePlugins': ['flash'],
1518
**getattr(settings, 'CKEDITOR_SETTINGS', {}),
1619
}
1720

0 commit comments

Comments
 (0)