TextArea Content Wrap like strong tag in html. | Community
Skip to main content
Level 2
September 3, 2020
Question

TextArea Content Wrap like strong tag in html.

  • September 3, 2020
  • 1 reply
  • 1044 views

 

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?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

1 reply

Vijayalakshmi_S
Level 10
September 3, 2020

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