Skip to content

Latest commit

 

History

History
61 lines (35 loc) · 8.26 KB

README.md

File metadata and controls

61 lines (35 loc) · 8.26 KB

Block Editor Handbook

👋 Welcome to the Block Editor Handbook.

The Block Editor is a modern and up-to-date paradigm for WordPress site building and publishing. It uses a modular system of Blocks to compose and format content and is designed to create rich and flexible layouts for websites and digital products.

The editor consists of several primary elements, as shown in the following figure:

Quick view of the block editor

The elements highlighted in the figure are:

  1. Inserter: A panel for inserting blocks into the content canvas
  2. Content canvas: The content editor, which holds content created with blocks
  3. Settings Sidebar: A sidebar panel for configuring a block’s settings (among other things)

Through the Block editor, you create content modularly using Blocks. There are many core blocks ready to be used, and you can also create your own custom block.

A Block is a discrete element such as a Paragraph, Heading, Media, or Embed. Each block is treated as a separate element with individual editing and format controls. When all these components are pieced together, they make up the content that is then stored in the WordPress database.

The Block Editor is the result of the work done on the Gutenberg project, which aims to revolutionize the WordPress editing experience.

Besides offering an enhanced editing experience through visual content creation tools, the Block Editor is also a powerful developer platform with a rich feature set of APIs that allow it to be manipulated and extended many different ways.

Navigating this handbook

This handbook is focused on block development and is divided into five sections, each serving a different purpose.

Further resources

This handbook should be considered the canonical resource for all things related to block development. However, there are other resources that can help you.

Are you in the right place?

This handbook is targeted at those seeking to develop for the block editor, but several other handbooks exist for WordPress developers under developer.wordpress.org: