How to Create Your First Gutenberg Custom Block
Create your first custom block for the WordPress block editor Since WordPress 5.0 the editor is built from blocks, and a plugin or theme can add its own. A block is registered in JavaScript with registerBlockType(): the edit function describes how it looks and works in the editor, the save function returns the HTML that…