src/pyams_content/component/paragraph/zmi/verbatim.py
branchdev-dc
changeset 1079 a5e56749ca3d
parent 1006 cbb65b4b8742
child 1081 a7a2eeb833b7
--- a/src/pyams_content/component/paragraph/zmi/verbatim.py	Fri Oct 12 14:30:34 2018 +0200
+++ b/src/pyams_content/component/paragraph/zmi/verbatim.py	Fri Oct 12 14:33:03 2018 +0200
@@ -73,6 +73,11 @@
     fields = field.Fields(IVerbatimParagraph).omit(*PARAGRAPH_HIDDEN_FIELDS)
     edit_permission = MANAGE_CONTENT_PERMISSION
 
+    def updateWidgets(self, prefix=None):
+        super().updateWidgets(prefix)
+        if 'quote' in self.widgets:
+            self.widgets['quote'].widget_css_class = 'input height-200'
+
     def create(self, data):
         return VerbatimParagraph()