Ben is a lifelong Nintendo fan who likes to build websites, and make video games. He buys way too much Lego.
I have noticed one of the most frequent complaints about Gutenberg is the fact that paragraphs are treated as individual blocks. This disrupts the writing flow and makes normal text operations more cumbersome.
I was thinking about this the other day and remembered that it’s possible to change the default blocks on a per post type basis. So it’s relatively straightforward to set the classic editor block as the default block for blog posts; instead of paragraph blocks (as they are now). This means that when you write a post pressing enter will create a new line (or line break) rather than a new paragraph.
The code is super simple too – I have added it below. You can view the original Gist on Github. You can also download a zip of the Gist and install it as a plugin.
I appreciate that this isn’t a perfect solution – but for some it may help ease the transition into a block based interface.
Personally I have moved over to using Gutenberg full time and, whilst Gutenberg still has a few quirks, am pretty happy with the new setup and the extra flexibility it offers.