WYSIWYG break line

Enonic version: 6.9.0
OS: linux

We are trying to add empty p tag with break line inside text component in region.
tag exists when you edit text but once you save content - it disappears.

Hi !

Can anybody confirm if this is a bug ?


This is not a bug - you are not supposed to have empty paragraphs in the root of your text area.

If you absolutely need it to be like that, you can wrap it inside a div:

If you simply need some placeholder space, I suggest you use br instead, empty paragraph doesn’t make much sense:


Hi Alan!

Is there any possibility to add a new line via WYSIWYG without editing code? I mean the <br> tag. When I hit “Enter” to start a new line, WYSIWYG generates empty <p> tag.



Just press down the Shift key and then press Enter to insert such linebreaks =)


This helped. Thanks a lot! :slight_smile: