branch | tls-sprint |
changeset 1013 | 948a3882c94a |
parent 940 | 15dcdc863965 |
child 1173 | 8f123fd081f4 |
--- a/web/request.py Wed Mar 04 19:04:19 2009 +0100 +++ b/web/request.py Wed Mar 04 19:04:44 2009 +0100 @@ -269,6 +269,8 @@ self.html_headers.define_var('fcklang', self.lang) self.html_headers.define_var('fckconfigpath', self.build_url('data/cubicweb.fckcwconfig.js')) + def use_fckeditor(self): + return self.vreg.config.fckeditor_installed() and self.property_value('ui.fckeditor') def edited_eids(self, withtype=False): """return a list of edited eids"""