Commits

Luke Plant  committed 200e047

Updated to match changes in django-cms2

  • Participants
  • Parent commits 84dbe4b

Comments (0)

Files changed (1)

File semanticeditor/widgets.py

 join = os.path.join
 
 class SemanticEditor(WYMEditor):
+
     class Media:
         js = [join(settings.SEMANTICEDITOR_MEDIA_URL, path) for path in
               ('javascript/wymeditor/plugins/semantic/wymeditor.semantic.js',
             'WYM_TOOLS': mark_safe(text_settings.WYM_TOOLS),
             'WYM_CONTAINERS': mark_safe(containers),
             'WYM_CLASSES': mark_safe(text_settings.WYM_CLASSES),
+            'WYM_STYLES': mark_safe(text_settings.WYM_STYLES),
+            'WYM_STYLESHEET': mark_safe(text_settings.WYM_STYLESHEET),
             'installed_plugins': self.installed_plugins,
             'page': self.page,
         }