Can we resize RichTextEditor in AEM-6.4.

Avatar

Avatar

dhanubrp

Avatar

dhanubrp

dhanubrp

26-05-2020

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 ")
@RichTextEditor
private final String propertyName;

 

RichTextEditor.png

 Thanks in Advance.

 

 

 

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

raghavc

Avatar

raghavc

raghavc

26-05-2020

https://helpx.adobe.com/experience-manager/using/creating-touchui-validate.html

 

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.

Answers (0)