Streaming live at 10am (PST)

How to make a Line break CMS

Do I have to use Richtext in the CMS to make a line break? I would like to decide where certain Line Breaks are.

1 Like

Use cntrl+enter for a new line (break). Works everywhere (Not only in CMS richtexts).

or "shift+enter" (Also the shortcut in microsoft word)

paragraphs-and-line-breaks

https://www.mintox.com/support/wysiwyg-editor/paragraphs-and-line-breaks

<br>

2 Likes

doesn’t work for me… everytime i do a break, the text jumps back to normal

1 Like

With WF’s plain text field the save in the CMS Item editor (designer) strips all blank lines when saving the collection item. If you added HTML WF would encode it.

The only possible way around this would be to add a HTML Line Break element or something you could target for replacement. If I used <br> for example, which Webflow will encode on publish, then you run a script that decodes the encoded value so the browser would render it.

2 Likes

@webdev Could you please explain more on the decoding process? I’m not quite sure how I’d go about that. Thanks

1 Like

@boafo- The process would be the same as what I have written about (along with a code solution) on my blog. See =>

1 Like

@webdev Thanks for the response I will check this out!