Skip to content

Commit

Permalink
use vendored djangocms-cascade plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
Jake Rosenberg committed Jun 7, 2023
1 parent 8da799b commit a309ebc
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 40 deletions.
12 changes: 7 additions & 5 deletions designsafe/settings/common_settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@
'bootstrap3',
'termsandconditions',
'impersonate',
'captcha',


#websockets
Expand Down Expand Up @@ -298,7 +299,10 @@
'ResponsiveEmbedPlugin',
)
}
CMSPLUGIN_CASCADE_PLUGINS = ['cmsplugin_cascade.bootstrap4', 'cmsplugin_cascade.link']
CMSPLUGIN_CASCADE_PLUGINS = [
'cmsplugin_cascade.bootstrap3',
'cmsplugin_cascade.link',
]

# These settings enable iFrames in the CMS cktext-editor.
TEXT_ADDITIONAL_TAGS = ('iframe',)
Expand All @@ -312,11 +316,9 @@
'easy_thumbnails.processors.filters',
)


CKEDITOR_SETTINGS = {
'language': '{{ language }}',
'skin': 'moono-lisa',
'toolbar': 'CMS',
'stylesSet': format_lazy('default:{}', reverse_lazy('admin:cascade_texteditor_config')),
'allowedContent': True
}

#MIGRATION_MODULES = {
Expand Down
51 changes: 18 additions & 33 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ dropbox = "10.6.0"
django-recaptcha2 = "1.4.1"
djangocms-snippet = "^2.3.0"
django-bootstrap3 = "^11.1.0"
djangocms-text-ckeditor = "^4.0"
djangocms-cascade = "1.3.7"
djangocms-text-ckeditor = "^3.5.0"
djangocms-cascade = { git = "https://github.com/jarosenb/djangocms-cascade-ds-compat", rev = "04d52dca46312b24ded3aa1d4cf3955a88ebc147" }
djangocms-style = "^2.3.0"
djangocms-video = "^2.3.0"
djangocms-picture = "^2.4.0"
Expand Down

0 comments on commit a309ebc

Please sign in to comment.