Skip to content

Latest commit

 

History

History
14 lines (11 loc) · 1.88 KB

File metadata and controls

14 lines (11 loc) · 1.88 KB

Fundamentals of Block Development

This section provides an introduction to the most relevant concepts in Block Development.

In this section, you will learn:

  1. File structure of a block - The purpose of each one of the types of files available for a block, the relationships between them, and their role in the output of the block.
  2. block.json - How a block is defined using its block.json metadata and some relevant properties of this file (such as attributes and supports).
  3. Registration of a block - How a block is registered in both the server and the client.
  4. Block wrapper - How to set proper attributes to the block's markup wrapper.
  5. The block in the Editor - The block as a React component loaded in the Block Editor and its possibilities.
  6. Markup representation of a block - How blocks are represented in the database, theme templates, or patterns.
  7. Static or Dynamic rendering of a block - How blocks can generate their output for the front end dynamically or statically.
  8. Javascript in the Block Editor - How to work with Javascript for the Block Editor.