Custom blocks for the Block Editor in WordPress are typically registered using plugins and are defined through a specific set of files. The @wordpress/create-block package is an officially supported tool to scaffold the structure of files needed to create and register a block. It generates all the necessary code to start a project and integrates a modern JavaScript build setup (using wp-scripts) with no configuration required.
You may also like
PTE Request for GiveWP plugin…
PTE Request for GiveWP plugin I’ve suggested a...
Early opportunities to Test WordPress 6.6
Ahead of beta 1, let’s get testing for 6.6! What...
Summary, Dev Chat, May 8, 2024
Start of the meeting in Slack, facilitated by...