WordPress Block Editor
The WordPress block editor also called the block editor, WordPress editor or Gutenberg editor is the new way of publishing content in WordPress.
With the launch of WordPress 5.0 in December 2018, the WordPress block editor is set as the default editor and it replaced the classic editor. To use the classic editor, you now have to install the classic editor plugin.
The new WordPress block editor offers an array of blocks that can be used to create media-rich pages and posts. You can control the layout of the blocks with ease, to build visually appealing web pages.
Blocks are the content elements that you add to create content layouts. You can add blocks for paragraphs, images, headings, lists, videos, galleries, and more. WordPress has blocks for all common content elements, and more can be added by WordPress plugins.
The Block Editor’s workspace
To launch the WordPress block editor, click on Posts > Add New or Pages > Add New.
The block editor opens by default in Fullscreen mode.
The WordPress block editor workspace has three main sections: the top toolbar, sidebar with the post/page settings & the block settings, and the content area.
The top toolbar
At the top left of the block editor workspace, you will see the following options:
Exit the Editor: Shows the W icon by default, or the Site Icon if available. Click to exit the editor. This will prompt you to save the changes or leave the post or page.
Block Inserter: Add blocks of content to your post or page, like text, images, and much more.
Tools: Switch between editing a block and selecting a block. Choose the Select tool (or press the Escape key on your keyboard) to select individual blocks. Once a block is selected, press the Enter key on your keyboard to return to editing.
Undo and Redo: Undo an action, or redo an undone action.
Details: Get the post/page details including the character and word count, the number of paragraphs and blocks on the post/page, and the document outline showing the headings and how they are structured on the post/page.
Before you publish your post or page, you will see the following options in the top right corner of the block editor’s workspace.
Save draft: Save a draft of your post or page without publishing it.
Preview: See how your post/page looks on your site.
Publish: Make your post/page available publicly.
After you publish your post or page, you will see the following options in the top right corner of the block editor’s workspace.
Switch to draft: Unpublish a post or page, making it a draft.
Preview: See how your post/page looks on your site.
Update: Save the changes to your post/page.
Details on how to use the preview function can be found here.
Settings: Show or hide the post/page sidebar settings.
Options: Open up more options.
To access more options, click the three dots to the right of the Settings ‘cog’ icon in the upper right corner. Here, you can customize your editing experience using various options.
Display or hide the top toolbar in the editor. When you enable this option, block toolbars are pinned to the top of the WordPress block editor (right under the top toolbar) instead of appearing directly above the block.
With spotlight mode, all blocks are greyed out except for the one you’re working on so that you can focus on a single block at a time.
By default, you will be in the Visual editor. Switch to the Code editor to view the entire post or page in HTML code editor.
Use the Preferences menu to:Customize the editing experience.Change how you interact with blocks and which blocks appear when searching for a block.Show or hide individual panels from the post/page settings.
How to switch-off Fullscreen mode?
To switch-off Fullscreen mode, use the 3-dot menu on the top right and un-check the Fullscreen mode.
Your choice will be stored in your browser’s local storage. If you switch browsers, the choice for the view will not be remembered and you have to set your preference again. This is true when you switch computers as well.
Safari browser users will experience a reset of default settings once in a while because Safari itself is programmed to delete local storage entries every now and then.
Until the core developers find the best solution, you can use the Persistent block editor settings plugin. This plugin stores the Fullscreen mode preference in the database. Hence your fullscreen mode choise stays consistent across browsers and devices.
How does the WordPress Block editor work?
Frequently Asked Questions (FAQ)
When will the WordPress Block Editor be available on WordPress.org?
It already is! The WordPress block editor is set as your default editor unless you installed the classic editor plugin
Does the Block editor allow editing posts and pages in the front-end?
No. It’s a representation of what site visitors see on the front-end of your site. However, the layout and visual experience in the editor are much closer to the way things look like on the public-facing side of your site.
How will my existing content look?
Your current content should look the same as it did before. If you edit an existing post or page in the new editor, all the content will be placed in a Classic Block, which will treat it the same way that the Classic editor did.
Why doesn’t my content look the same in the editor and on the site?
You may see some variation between your content in the editor and on the site, largely because of the way your theme displays different visual elements. Some themes will include styles to help the editor look more like the front of the site; others will not. If your theme includes a sidebar, for example, you won’t see it in the editor, which may affect the width of your content when it displays on the front of the site.
Why are some settings available on one of my sites, but not another?
Some settings in blocks — “wide” or “full-width” — need to be supported by your theme. While the same blocks will be present on different sites, the specific settings you can apply to those blocks might be a bit different based on your active theme.
Will I still be able to use the Classic editor?
To switch to the classic editor, install and activate the Classic Editor plugin in your site.
Do shortcodes still work?
Yes. The editor comes with a shortcode block, which you can use for shortcodes just like before. In the future many shortcodes will become their own blocks.
Is this editor accessible?
Our aim is for the WordPress Editor to be as accessible as previous editors if not more so. We want everyone to be able to use it. The WordPress Accessibility Coding Standards state that “All new or updated code released in WordPress must conform with the WCAG 2.0 guidelines at level AA.“ This will be no exception.
Do I need to use a particular theme for the new editor?
No. The block editor will work with all themes. However, only some themes might support specific layout features (like “wide” and “full width” content). Some blocks CSS might need small adjustments for a better display.