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.
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 />
Most helpful comment
You can use Shift + Enter to just create a line break.