Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

Can we resize RichTextEditor in AEM-6.4.

Avatar

Level 2

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.

 

 

 

1 Accepted Solution

Avatar

Correct answer by
Level 5

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.

View solution in original post

1 Reply

Avatar

Correct answer by
Level 5

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.