Is there a way to put break line in the value of the fieldDescription ? | Community
Skip to main content
Level 5
Oct 16, 2015 2:28 AM UTC
Solved

Is there a way to put break line in the value of the fieldDescription ?

I have to put the following into two lines as a value of the fieldDescription:

"If checked, you will see blah blah.

If unchecked, you will not see blah blah."

I would like to present two lines parallel in the description . How to make the value of the fieldDescription breaking into two lines? 

Thanks.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
BrianKasingli
BrianKasingliAccepted solution
New Participant
Jul 26, 2023 11:46 PM UTC

Instead of using the Granite UI text field, you can use the Rich Text Editor. In using the Rich Text Editor, what you see is what you get; meaning that if you add line breaks, the content saved in the JCR will produce <p></p>

1 reply

BrianKasingli
BrianKasingliAccepted solution
New Participant
Jul 26, 2023 11:46 PM UTC

Instead of using the Granite UI text field, you can use the Rich Text Editor. In using the Rich Text Editor, what you see is what you get; meaning that if you add line breaks, the content saved in the JCR will produce <p></p>

Translate