lazy-blocks icon indicating copy to clipboard operation
lazy-blocks copied to clipboard

How to tell people to use line breaks in text area fields

Open szopos opened this issue 4 years ago • 1 comments
trafficstars

As far I can see, line breaks in text areas are rendered only if the user types <br>. How can I tell them to use <br>? If I type this sentece in the Help text field: Type <br> for line breaks the brake disappeares in the backend. See screenshot.

Lazy Blocks Version: 2.3.1 WordPress Version: 5.7

grafik

szopos avatar Mar 31 '21 15:03 szopos

@szopos I have run into this issue as well. You have the option of using the rich text block which looks almost same as textarea but with bold and italics options (there is also a full blown wysiwyg editor but you probably don’t want to hand that off to clients as it becomes a formatting nightmare). The rich text block transfers line breaks and requires no change from the user side.

vinayraghu avatar Apr 03 '21 14:04 vinayraghu

In the latest update, it is possible. Add this help text:

Type &lt;br> for line breaks.
Shot 2022-11-09 at 02 01 02@2x Shot 2022-11-09 at 02 01 46@2x

nk-o avatar Nov 08 '22 23:11 nk-o