def text(self):
     text = None
     if self.data.show_text:
         item = self.existing_content_item
         if IRichText.providedBy(item) and IRichTextBehavior(item).text:
             text = IRichTextBehavior(item).text.output
     return text
Exemple #2
0
 def test_richtext_behavior(self):
     IRichText.providedBy(self.portal.doc1)
 def test_richtext_behavior(self):
     IRichText.providedBy(self.portal.doc1)