Expand my Community achievements bar.

Guidelines for the Responsible Use of Generative AI in the Experience Cloud Community.
SOLVED

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

Avatar

Level 6

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.

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

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>

View solution in original post

1 Reply

Avatar

Correct answer by
Community Advisor

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>