--- 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()