Commits

Luke Plant  committed 634f26f

Updated for text-editor-cleanup changes.

  • Participants
  • Parent commits e9c0784

Comments (0)

Files changed (2)

File semanticeditor/cms_plugins.py

 from django.forms.fields import CharField
 
 class SemanticTextPlugin(TextPlugin):
-    def get_editor_widget(self, request, plugins, objects):
-        return SemanticEditor(installed_plugins=plugins, objects=objects)
+    def get_editor_widget(self, request, plugins):
+        return SemanticEditor(installed_plugins=plugins)
 
 plugin_pool.register_plugin(SemanticTextPlugin)

File semanticeditor/widgets.py

             'WYM_CONTAINERS': mark_safe(wym_settings.WYM_CONTAINERS),
             'WYM_CLASSES': mark_safe(wym_settings.WYM_CLASSES),
             'installed_plugins': self.installed_plugins,
-            'objects': self.objects,
         }
 
         return mark_safe(render_to_string(