Gutenberg: Line break in Gutenberg

Created on 15 Sep 2018  路  10Comments  路  Source: WordPress/gutenberg

Sometimes I want to make a line break without creating a new paragraph (and also a new block in Gutenberg). And when it creates a new block, I would like to be able to join two blocks to avoid this problem. I sometimes want to rearrange a copied text from another editor and Gutenberg break the text in different blocks each time I just want to make a line-break (for example to invert a name, a date and a title of a conference in a program of conferences...). You can imagine how it become a mess in Gutenberg !

Is it possible to create a button and/or a keyboard shortcut to create a line-break <br />. And it would be great to be able to join selected blocks (paragraphs, lists...) into one classic block.

[Type] Help Request

Most helpful comment

You can use Shift + Enter to just create a line break.

All 10 comments

You can use Shift + Enter to just create a line break.

Thank you very much !
You should write this shortcut in the keyboard shortcut list available in Gutenberg.

Shift + Enter doesn't work in lists anymore? or never worked?

shift + Enter in list blocks is needed.

Please add shift+enter back.

For a list, it's a pain but you can switch to "Edit in HTML" mode, enter < br >< br > and then return to Visual Mode.

This doesn't work in paragraphs as of right now, inconsistently. It should be reopened.

i confirm that shift+enter inside a paragraph creates a new para, not a line break, same as simple enter 馃槦
now have to switch to edit in html, than enter <br>, than switch back to visual mode - that's a pain! 馃槩

Gutenberg needs to guten back to the drawing board, I'm afraid. I'll stick with classic view -- more productive.

This is bug or what? Because i can see in inspector, that <br data-rich-text-line-break="true"> is created but it's not saved on <InnerBlocks.Content />

Was this page helpful?
0 / 5 - 0 ratings

Related issues

davidsword picture davidsword  路  3Comments

spocke picture spocke  路  3Comments

maddisondesigns picture maddisondesigns  路  3Comments

mhenrylucero picture mhenrylucero  路  3Comments

youknowriad picture youknowriad  路  3Comments