Home » WordPress Tutorials » Gutenberg » Gutenberg Tutorial: The Basics of the WordPress Block Editor

Gutenberg Tutorial: The Basics of the WordPress Block Editor

Gutenberg

What is Gutenberg:

Gutenberg is the name of the new post editor that ships with WordPress. Unlike its predecessor, Gutenberg is entirely block-based. This means that every page element like a paragraph, an image, a video, etc lives inside a block. Gutenberg blocks can be moved around with ease and they tend to more accurately depict how your page will look once it is published.

WordPress has shipped with a free-form post editor since its inception. However, in late 2018, WordPress 5.0 introduced a brand new post editor called Gutenberg. Named after Johannes Gutenberg, the inventor of the printing press, the new post editor promises to revolutionize how we create and publish content in WordPress. Gutenberg’s standout feature is the use of blocks to help you encapsulate and manage your content.

In this article, we will provide you with a crash course on Gutenberg, WordPress’ Block Editor, so you can hit the ground running and start creating right away.

Table of Contents

 

The Blocks Concept, Explained

As we mentioned in our intro, the biggest difference between the classic WordPress Post Editor and Gutenberg is that the latter uses blocks to manage content. In fact, blocks are so central to Gutenberg that it is also known as the WordPress Block Editor.

The usage of blocks stands in stark contrast to the free-form text layout that was used in the previous post editor. In the past, you would write free-form text and embed images, videos, shortcodes, and other elements into it. But with the WordPress Block Editor, you would encapsulate each piece of content in its own block. In other words, every element on the page such as a paragraph, heading, media, and embedded content is treated as a separate entity and can be independently moved and customized.

Being able to see every page as a collection of blocks will allow you to better leverage the capabilities of the WordPress Block Editor.
Being able to see every page as a collection of blocks will allow you to better leverage the capabilities of the WordPress Block Editor.

You can read our article on Gutenberg blocks if you wish to learn how to take full advantage of the WordPress Block Editor.

 

Getting to Know the WordPress Block Editor

You can access the WordPress Block Editor by creating a new page or a new post.

Tip:

Gutenberg is also used for editing your existing posts and pages.

Tip:

If you don’t have a WordPress site yet where you can test Gutenberg, you are welcome to sign up for one of our premium WordPress hosting plans or even our free hosting package. They all fully support WordPress and the WordPress Block Editor.

Gutenberg features a more streamlined interface when compared to its predecessor. By default, the only visible elements on the screen will be the Top Toolbar, the Block Settings Sidebar, and the main content area.

Gutenberg’s default view will present you with a top toolbar, a Block Settings sidebar, and plenty of space to work on your content. 
Gutenberg’s default view will present you with a top toolbar, a Block Settings sidebar, and plenty of space to work on your content.

The Block Editor’s sidebar contains two tabs: Post and Block.

The Block Options Sidebar contains two tabs. 
The Block Options Sidebar contains two tabs.

The Post tab contains settings related to the post itself, such as its categories, tags, a featured image, publishing options, and others. Overall, if you have used the previous WordPress post editor, the options in this tab will be very familiar to you.

The Block tab, on the other hand, contains options that are specific to the currently selected block. In other words, the contents of the Block tab will change depending on the type of block you are working on.

Tip:

Are you curious what options are available in the Post tab and the top toolbar? If so, you should check out our article on exploring the Gutenberg interface.

 

Adding a Block

To create a new block and start creating your page or post, click on the “+” button near the top left of the screen. When you do so, you will see Gutenberg’s block gallery. Clicking on any of the available block types would insert the chosen block into your post/page.

One of the easiest ways of adding new blocks to a post or a page is by using the “+” button near the top-left corner of the screen. 
One of the easiest ways of adding new blocks to a post or a page is by using the “+” button near the top-left corner of the screen.

 

Removing a Block

The option to remove a block is not as discoverable, but it is still just a few clicks away:

  1. First, select the block that you wish to remove.
  2. Then, click on the three dots at the end of the Block Toolbar.
  3. And finally, choose the last available option which should be Remove block.
The option to remove a block is hidden in the Block Toolbar. 
The option to remove a block is hidden in the Block Toolbar.

And just like that, your block is removed.

Warning:

Be careful with the removal option as there is no message asking you to confirm your choice.

Tip:

If you happen to remove a block by accident, you can use the Undo button from the main toolbar to revert your changes. You can also use Ctrl+Z on Windows/Linux or Cmd+Z on Mac to undo the deletion.

 

Working With Text

Text-related blocks like paragraphs and headings are some of the most widely used blocks, so it’s a good idea to learn how to use those first. And it’s really easy – as soon as you add your preferred block, your cursor will focus on it automatically and you can start typing right away.

The paragraph block is displayed at the top of the list as it is the most widely used block. 
The paragraph block is displayed at the top of the list as it is the most widely used block.

Tip:

There is an even faster way to create a new paragraph block. Have you noticed the Start writing or type / to choose a block text? If you click on that text and start writing, Gutenberg will create a paragraph block for you automatically.

When you start simply typing in the content area, the WordPress Block Editor will automatically create a new paragraph block for you. 
When you start simply typing in the content area, the WordPress Block Editor will automatically create a new paragraph block for you.

To add a second paragraph to your post or page, simply repeat the steps you took to add your first one. Namely, click on the “+” button, choose the paragraph block, and start typing:

Adding blocks in Gutenberg is easy and straightforward. 
Adding blocks in Gutenberg is easy and straightforward.

Tip:

If you have just finished working on a paragraph block and wish to create a new paragraph, then simply make sure that your text cursor is at the end of the paragraph block. Then, simply press Enter and a new paragraph block will be created for you automatically.

Pressing Enter when you are at the end of a paragraph block would automatically create a new paragraph block for you to work with. 
Pressing Enter when you are at the end of a paragraph block would automatically create a new paragraph block for you to work with.

 

Inserting an Image Into Your Post

Images can greatly enhance the quality of your posts, so it’s important to know how to insert pictures, photos, and other graphics.

As you might imagine, Gutenberg allows you to work with images using an Image block. You can add a new Image block by clicking on the “+” button in the top left corner:

Image blocks can be added easily using the WordPress Block Editor. 
Image blocks can be added easily using the WordPress Block Editor.

Once you have added an Image block to your post, you need to specify the image that you wish to use there. The simplest way to do so is to just drag an image from your desktop and drop it into the Image block itself:

The WordPress Block Editor allows you to drag and drop images. 
The WordPress Block Editor allows you to drag and drop images.

Of course, you can also use your WordPress Media Library to choose your image. To do so, click on the Media Library button and choose your preferred image.

Image blocks fully support your WordPress Media Library. 
Image blocks fully support your WordPress Media Library.

 

Publishing Your First Post

Once you have finished making your post, it is time to publish. If you have used the classic post editor in the past, you’ll be glad to read that the publishing process remains pretty much the same with Gutenberg. To publish your post, you need to:

  1. Click on the Publish button in the top-right of the screen.
  2. A short checklist of settings and suggestions will appear. It is recommended to quickly go through those.
  3. Once you have gone through the suggestions presented by the WordPress Block Editor, click on the Publish button one more time.
Publishing a new post involves just two clicks. 
Publishing a new post involves just two clicks.

Once your post is successfully published, you will see a screen similar to the one shown below:

WordPress will provide you with a small notification in the lower-left corner every time you successfully publish or update your post. 
WordPress will provide you with a small notification in the lower-left corner every time you successfully publish or update your post.

Note the small notification in the lower-left corner. You can click on the link there to open your live post.

Tip:

If you are new to WordPress and wish to learn how to properly publish your posts, you can check our tutorial on post/page publishing for additional information.

 

Updating an Existing Post

You’ll want to update your published posts sooner or later, either because of an issue you have found or because you wish to add more content. Thankfully, updating your live posts is quick and easy with Gutenberg. To update a post:

  1. Open the post in the WordPress Block Editor.
  2. Make your edits.
  3. Click on the Update button in the top right corner of the screen.
Updating posts in Gutenberg is a 1-click process, just like it was with the classic editor. 
Updating posts in Gutenberg is a 1-click process, just like it was with the classic editor.

And that’s it! Your post will be updated and you’ll see a small notification in the bottom left corner of the screen letting you know that your update was carried out successfully.

 

Next Steps

Overall, the WordPress Block Editor strikes a nice balance between functionality and ease of use. All common actions are easily accessible while more advanced features are never more than a few clicks away.

Using the information in this tutorial, you should be able to start publishing with Gutenberg right away. Of course, there is a lot more to learn about Gutenberg blocks and the Block Editor in general. If you want to further enhance your knowledge, we recommend going through our tutorials on how to work with Gutenberg blocks, exploring the WordPress Block Editor interface, and customizing and extending the WordPress Block Editor.

Was this post helpful?

i

Relevant tags:

Create your WordPress website today!

Connect

Editor’s picks:

Gutenberg Tutorial: How to Move Blocks in WordPress

What you need to know: The WordPress Block Editor allows you to move blocks up and down the document structure in order to rearrange the content contained within those blocks. The most popular way of moving blocks is by dragging a block from one position and dropping...

Gutenberg Tutorial: Deleting a Block in WordPress

What you need to know: You can delete a block in WordPress by selecting it and pressing the Delete key on your keyboard. Alternatively, you can press the three-dot button in the Contextual Toolbar to access the Remove block option. Lastly, it is also possible to...

Gutenberg Tutorial: Using Block Patterns in WordPress

What you need to know: A block pattern in WordPress is a group of two or more regular WordPress blocks. These blocks come in a sensible layout that you wouldn’t need to modify in most cases. Instead, you just need to add your own content to the block pattern. You can...

Gutenberg Tutorial: Using WordPress Reusable Blocks

What you need to know: Gutenberg features reusable blocks that allow you to quickly insert the same content with one click. You can mark any block or block pattern as reusable. You can find your reusable block collection in the WordPress Block Library. Have you ever...



Create your WordPress website today!


Start now