Is there a way to put break line in the value of the fieldDescription ? | Community
Skip to main content
New Participant
October 16, 2015
Solved

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

  • October 16, 2015
  • 1 reply
  • 774 views

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.
Best answer by BrianKasingli

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
July 26, 2023

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>