Commits

limpbrains committed 0938600

Type error fix

  • Participants
  • Parent commits 796b957

Comments (0)

Files changed (1)

cmsplugin_news/forms.py

         model = News
         
     def _get_widget(self):
-        plugins = plugin_pool.get_text_enabled_plugins(placeholder=None)
+        plugins = plugin_pool.get_text_enabled_plugins(placeholder=None, page=None)
         if USE_TINYMCE and "tinymce" in settings.INSTALLED_APPS:
             from cmsplugin_news.widgets.tinymce_widget import TinyMCEEditor
             return TinyMCEEditor(installed_plugins=plugins)