What is Gutenberg in WordPress?

Gutenberg is the name of the block editor, which became the default editor in WordPress 5.0 (December 2018). Instead of one big text box, each part of the content is a block: paragraph, heading, image, list, table, button and so on.

A block is saved as normal HTML with a comment around it:

Terminal output

$ wp post create –post_title="Block demo" –post_content='<!– wp:paragraph –><p>Hello block</p><!– /wp:paragraph –>' –post_status=draft –porcelain
5
$ wp post get 5 –field=post_content
<!– wp:paragraph –><p>Hello block</p><!– /wp:paragraph –>

Gutenberg is also used for the Site Editor of block themes. Read WordPress Block Editor.


Learn more about the similar topics:
Tutorials
WordPress Posts
WordPress Pages
WordPress Block Editor (Gutenberg)
WordPress Categories and Tags
WordPress Media Library
WordPress Comments
Exercises & Assignments
Add categories, a child category and a tag to a post
Interview Questions & Answers
How to limit WordPress post content length?
What is the difference between Posts & Pages in WordPress?
Which Gutenberg blocks support wide and full width alignment?
What is Post Status in WordPress?
What is the difference between categories and tags in WordPress?
What is Gutenberg in WordPress?