Line breaks in Rich Text editor

Hello everyone,

So far WeWeb has been a fantastic low-code editor for me, especially with the new pricing structure!

One little issue I can’t seem to figure out is why my rich text editor output does not include any linebreaks (using the enter key)? I’ve tried using the markup mode and the HTML mode but neither seem to include the line breaks that I add.

Currently I have a workflow to send the output to supabase and then another workflow to retrieve it into a Rich Text component, but even if I try directly hooking up the editor to the rich text component I can’t see my line breaks at all… Also when I look at the output I don’t see any
tags, just and

tags…

Below is what I have in my editor, but when I hit save each line just stacks ontop of each other and ignores the extra line breaks I have added (i.e. between Line 2-5):

Any help would be appreciated!

1 Like

Hi John, I’m glad you are enjoying your time with WeWeb.

I tried your approach and indeed it seems that when you press enter you are creating an empty paragraph tag

and only when you SHIFT + enter you create a line break tag
.

I’ll bring this up to the team and I’ll let you know what happens.

1 Like

Thank you very much Agustin!

Yes shift-enter is what I’m looking for. It’s too bad it doesn’t work this way without holding the shift button, but I can work around it.

you could try some text manipulation as well to change the empty paragraph tags to be line breaks

1 Like