Expand my Community achievements bar.

July 31st AEM Gems Webinar: Elevate your AEM development to master the integration of private GitHub repositories within AEM Cloud Manager.

TextArea Content Wrap like strong tag in html.


Level 2


In the page properties we have many TextArea fields( @TextArea ).

While entering data in the text area field, If author enters data by leaving more spaces, data saving to the crx in the same way with spaces.
Please find the attached screenshot for reference.



While generating reports these blank spaces or lines causing some alignment issues.

Is there any way that we can wrap the TextArea data like strong tag in html.

Can anyone please give some idea how to achieve this?

1 Reply


Community Advisor

Hi @dhanubrp,

Hope you are making use of  Coral UI 3 text area resource - granite/ui/components/coral/foundation/form/textarea.

If yes, this renders HTML's text area tag for capturing multiline input as plain text and not as rich text content. 


I tried using making use of this resource in component dialog and retrieved in HTL -> couldn't see the spaces showing up. 

Can you elaborate on how and where you are retrieving these text area field from page properties