I want to resize my RichTextEditor property in my component , can this be limited to a 10 lines max?
Component code :
@DialogField( name = "name", fieldLabel = "fieldLabel ")@RichTextEditorprivate final String propertyName;
Thanks in Advance.
You can create a custom validation to check if the content in textarea is less then 10 lines. If you are interested only to resize the textarea you can add a custom class using granite:class and add the required css rule for the height.