entities/__init__.py
branchtls-sprint
changeset 1010 73591b2ffeb4
parent 940 15dcdc863965
child 1013 948a3882c94a
--- a/entities/__init__.py	Wed Mar 04 18:49:36 2009 +0100
+++ b/entities/__init__.py	Wed Mar 04 18:49:58 2009 +0100
@@ -416,7 +416,7 @@
         `attr`, according to user preferences
         """
         req = self.req
-        if req.property_value('ui.fckeditor') and self.has_format(attr):
+        if self.config.fckeditor_installed() and req.property_value('ui.fckeditor') and self.has_format(attr):
             if self.has_eid() or '%s_format' % attr in self:
                 return self.format(attr) == 'text/html'
             return req.property_value('ui.default-text-format') == 'text/html'