TextArea Content Wrap like strong tag in html.

Avatar

Avatar

dhanubrp

Avatar

dhanubrp

dhanubrp

03-09-2020

 

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.

 

TextArea.PNG

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?

Accepted Solutions (0)

Answers (1)

Answers (1)

Avatar

Avatar

Vijayalakshmi_S

MVP

Avatar

Vijayalakshmi_S

MVP

Vijayalakshmi_S
MVP

03-09-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