WordPress released its new Gutenberg editor that has now replaced the old classic editor. This editor works in a totally different way and is the direction where WordPress is heading to.
If you’re new to the WordPress Gutenberg Editor and are looking for a resource to understand how it works, you’re in the right place!
In this post, I’ll walk you through this new WordPress Block Editor.
Moreover, I’ll show you how it works and how you can ditch the classic editor for this much better and productive editor.
So, let’s get started.
- What is WordPress Gutenberg Editor?
- Gutenberg (Block Editor) Vs Classic Editor: What’s the Difference?
- A Quick Introduction to the Gutenberg Editor Interface
- An Introduction To Gutenberg Blocks
- Converting Old Posts into Blocks
- Inserting New Block
- Duplicating, Moving & Removing Blocks
- Creating Reusable Block
- Adding More Blocks to Gutenberg Editor
What is WordPress Gutenberg Editor?
Gutenberg is the project name of the new WordPress block editor that was made to replace the old classic editor.
The editor is named after Johannes Gutenberg, who invented the movable-type mechanical printing press.
WordPress stated that one of the biggest goals of Gutenberg was to allow users to build rich posts and beautiful layouts with just a few clicks.
They made this possible with the introduction of blocks. Blocks are simple elements such as Text, Images, Gallery, Shortcodes, Widgets, etc.
With the new block interface, it has now become possible for WordPress users to create beautiful pages and posts without the need of any page builder plugins.
To understand Gutenberg better, we need to take a look at how different it is from the classic editor.
Gutenberg (Block Editor) Vs Classic Editor: What’s the Difference?
The new Gutenberg editor is very different from the classic editor.
Let’s see how:
This is how the WordPress classic editor looks like:
And, this is the new Gutenberg editor by WordPress:
They look very different on the surface. But these differences are much bigger if you dive deep into each editor.
The biggest difference between the classic editor and Gutenberg is this:
The classic editor is a simple text editor with various formatting options. You can add images, shortcodes, video, etc just like you add in any other text editor.
Gutenberg, on the other hand, uses blocks where each element or entity is represented as blocks. So, any image, gallery, video, or shortcode you add to your content is in the form of a block.
That’s why Gutenberg is also called the Block Editor.
Gutenberg comes with many predefined blocks that can be added to your content. Also, you can add many new blocks by using a Gutenberg block plugin.
So, now you know the difference between the classic editor and the block editor.
The question is:
How is Gutenberg’s block editor better than the classic editor?
There are many advantages of using the block editor over the classic editor.
The biggest one is that it is easy to use than the classic editor. You can also edit individual blocks which gives you more control over the design and layout of your page.
Let’s move on and take a closer look at the interface of Gutenberg.
A Quick Introduction to the Gutenberg Editor Interface
Let’s take a deep look at the Gutenberg block editor interface. Whenever you create a post or page in Gutenberg, this is how the editor looks like:
Here’s a quick run-down of the elements of the Gutenberg editor interface:
- 1 – Title of your blog post/page.
- 2 – The content area of your post/page.
- 3 – Lets you add new blocks.
- 4 – Undo/redo buttons.
- 5 – Access to document settings where you can add categories, change the featured image, set publish date, and more.
- 6 – Settings for the individual selected block. Each block may have different block settings.
- 7 – Live preview or publish/update the post.
Now, that you are familiar with the interface of the block editor, let’s take a look at the blocks that come with Gutenberg.
An Introduction To Gutenberg Blocks
You’ve been reading that Gutenberg works with blocks since the beginning of this guide. But, what are these blocks? And, how do they work?
Here are the different types of blocks available in Gutenberg based on different categories:
- Paragraph Block
- Headings Block
- Image Block
- Gallery Block
- List Block
- Quote Block
- Audio Block
- Cover Block
- File Block
- Video Block
- Custom HTML Block
- Table Block
- Code Block
- Classic Block
- Preformatted Block
- Pullquote Block
- Verse Block
- Columns Block
- Button Block
- Media & Text Block
- Page Break Block
- Separator Block
- Spacer Block
- Shortcode Block
- Latest Posts
- YouTube Embed Block
These are the blocks that are used very often when working with posts. The common blocks include the most basic element blocks.
The paragraph block lets you write text in the block editor. It’s a simple box where you can write content for your post.
This block comes with the standard formatting options allowing you to change the font size, alignment, background, text color, etc of the paragraph.
Heading block lets you add headings to your content. You can choose the type of heading from six sizes (H1 to H6).
You can change the alignment of your heading, format them, and even insert links.
The image block lets you add an image to the editor. You can insert the image from your computer, WordPress media library or from a URL.
You can add captions, change the image size, add ALT text, and more in the image block.
You can create beautiful galleries with the Gallery block. With this block, you can add more than one image to the same block.
You can choose the number of columns for the gallery, add captions to images, and even link the images of your gallery.
The list block allows you to create a bulleted or numbered list.
This block also comes with standard formatting options that let you create sub-items, add anchor links, and format the text of your list.
The quote block lets you add beautiful quotes to your content.
You can add the quote along with the author name and format it like any other block.
The audio block lets you upload audio files to your content. The block displays a beautiful audio player.
You can customize the audio player to play the audio automatically and/or in a loop.
Cover block can be used to add an image or a video with a text overlay.
You can change the background color and opacity of the overlay.
You can add different types of files using the file block.
The file block lets you display a button, choose to open the file in a new tab, and more.
The video block lets you upload videos to your content.
You can autoplay the videos, mute them, upload a video thumbnail, and more.
Formatting blocks include code blocks, custom HTML blocks, and other similar blocks.
Let’s go through each formatting block available in Gutenberg.
Custom HTML Block
The custom HTML block lets you quickly add custom HTML to your post and preview it.
Now, you can create tables in WordPress without using any plugin.
The table block lets you create tables with ease. You can select the number of rows and columns and choose the layout.
You can display code snippets beautiful using the code block.
The code block isn’t a block where the code is executable. It’s just for displaying code to your readers.
You can add a tiny classic editor using the classic block.
The classic block has all the formatting options of the classic editor.
The preformatted block lets you display text on the front-end as you type it.
It displays the text in a monospaced font.
You can emphasize any text of your content using the pullquote block.
You can customize the colors of the block by changing the main color and the text color.
Verse blocks are used to write verses such as poetry or lyrics.
Verses are displayed in a new line and you can write as many verses as you want.
Layout Element Blocks
The layout element blocks let you customize the layout of your post beautifully.
Here are the layout element blocks in Gutenberg:
You can add columns to your content using the column block. No need to use any shortcode plugins for columns anymore!
The column block can be customized and you can change the background color of the column.
You can add beautiful buttons to your post using the button block.
There are many settings for the button block that let you customize the border and color of the button.
Media & Text Block
The media & text block can be used to display text and media side-by-side.
This block has the standard formatting options for the text and media.
Page Break Block
The page break block lets you add simple page breaks to your content.
The separator block is a simple block that lets you add separators to your post.
This block adds space between the blocks.
Widget Element Blocks
Widget element blocks let you add widgets to your post. These widget blocks include shortcodes, archives, categories, search, tag cloud, and more.
The shortcode block lets you add shortcodes to your content.
Unlike the classic editor where you paste the shortcode directly in the content, the shortcode block lets you insert a shortcode easily.
The latest posts block lets you display the latest posts published on your blog in your posts.
There are settings that let you select the category of the posts, choose the number of items to display, order posts, and display post date.
Embed elements let you embed content from other sources to your post.
Some embed element blocks include YouTube embed, Spotify, SlideShare, and more.
YouTube Embed Block
YouTube embed block lets you embed any YouTube video to your content.
So, these are the blocks that come with Gutenberg.
Converting Old Posts into Blocks
If your interest in Gutenberg has peaked now, it’s time to take a look at how you can convert your old classic editor posts into blocks.
The process is very simple and just takes a few clicks.
Here’s how you can do it:
Go to Posts > All Posts in your WordPress dashboard.
Click ‘Edit’ on the post you want to convert into blocks.
Now, if you have Gutenberg installed on your WordPress, the post will load with the new block editor interface.
But, all your content will be inside the ‘Classic Block’ which we discussed in the previous section.
The classic block is simply a TinyMCE editor with all the features of the classic editor.
It’s important to note that just because your post is loaded in the new block editor doesn’t mean it’s converted into blocks.
To convert the classic block into individual blocks, click on the edit button (three vertical dots) and then click on the ‘Convert to Blocks’ option.
Your entire post will be converted into individual blocks.
And, that’s it!
It’s that simple to convert your old posts into blocks.
But, what about creating new posts with the Gutenberg interface?
Let’s take a look at that.
Inserting New Block
In the previous sections, we took a look at the Gutenberg block editor interface. It’s a simple and straightforward interface that lets you create posts easily.
To add anything to your post, you need to insert a block.
Here are the different ways you can insert a block to your post in Gutenberg.
There are two ways of inserting a block and both of them are fairly simple.
The first method is to use the ‘Add a new block’ button. This button is visible in different areas as shown below.
Simply click on this button and choose the block you want to add.
The second method is much faster and easy.
To insert a block, simple type / followed by the name of the block.
The best part about this method is that you don’t have to type in the full name of the block. Gutenberg automatically gives you suggestions as you are typing.
Duplicating, Moving & Removing Blocks
The best part about Gutenberg is that everything is in a block. So, if you want to copy a text, an image, or a table, you don’t have to copy the entire thing.
Just select the block and choose what you want to do with it. You can duplicate blocks, move them by just dragging, or remove them.
Here’s how you can do it.
Duplicating blocks is very easy.
To duplicate a block, select the block and click on its settings (three vertical dots). In the settings, there’s an option to duplicate the block.
Click on it and your block will be duplicated.
You can also duplicate blocks by selecting the block and using the shortcut key Ctrl+Shift+D.
You can move blocks by either dragging them or simply by clicking the up and down buttons.
Hover on your block and on the left side you’ll see two up and down buttons along with a button in the middle.
Clicking on the up/down buttons will move the block up/down. Or you can click on the center button drag the block wherever you want it to be.
To remove a block, click on the block settings and select the remove block option.
You can also remove a block by using the shortcut key Shift+Alt+Z.
Creating Reusable Block
One great feature of Gutenberg is the concept of Reusable Blocks. A reusable block is basically a block that can be saved and used on other posts.
This is a really helpful feature as you can now save blocks and reuse them.
To create a reusable block, click on the block settings and select the ‘Add to reusable blocks’ option.
Then, give a name to the block you’re saving and click the save button.
This will save your block in the Gutenberg block library.
Now, whenever you want to use your reusable block in other posts, you can insert it like any other block.
You can also manage your reusable blocks on the block manager page. From this page, you can edit or delete your blocks. You can also import or export blocks.
Adding More Blocks to Gutenberg Editor
The default blocks provided in Gutenberg are really great and help you create beautiful posts and pages.
But, what if you want to go a step further?
Thankfully, Gutenberg allows developers to develop their own blocks. This has led developers to create some really awesome Gutenberg block plugins.
One such plugin is Ultimate Blocks.
This block plugin is made for those who want to spice up their blog posts and make them more appealing.
The plugin comes with over 15 blocks. Some of the notable blocks are:
Ultimate Blocks is insanely easy to use and very fast. With this plugin, you can add some unique blocks to your posts and increase your engagement and social shares.
So, that concludes our guide to Gutenberg. I hope this guide helped you learn and understand Gutenberg better.
If you’re completely new to this editor, the best advice I have for you is to try it out. You’ll get accustomed to using this awesome editor.
And, if you have any questions regarding Gutenberg, feel free to ask them in the comments section below.