Fix not started CKEditor when I used plugins extending "TextPlugin".
This commit is contained in:
parent
f3b5188a1a
commit
c8ecf8f6b6
|
@ -22,7 +22,7 @@ class TextPlugin(CMSPluginBase):
|
|||
Returns the Django form Widget to be used for
|
||||
the text area
|
||||
"""
|
||||
return TextEditorWidget(installed_plugins=plugins, pk=pk, placeholder=placeholder, plugin_language=language)
|
||||
return TextEditorWidget(attrs={'class': 'CMS_CKEditor'}, installed_plugins=plugins, pk=pk, placeholder=placeholder, plugin_language=language)
|
||||
|
||||
def get_form_class(self, request, plugins, pk, placeholder, language):
|
||||
"""
|
||||
|
|
Reference in New Issue