Block Directory updates


Here’s a brief outline of the status of the various parts of the block directory project.

The design of the Block Inserter within Gutenberg has gone through detailed explorations and iterations. The installation flow has been handed off for implementation. There is still some ongoing discussion around how to handle missing blocks and other error states. Mel has also explored some ideas for managing blocks within wp-admin.

Block Inserter work in progress

Implementing the Block Inserter is in progress in the form of a pull request. Some internal architectural changes are underway, but that’s testable now by anyone able to run a Gutenberg local environment. The next major hurdle after re-architecting the code is fully implementing and testing the plugin install code.

The Block Directory itself exists in a minimal form within the Plugin Directory. There is a prototype API endpoint for searching by block name, and work ongoing to implement that properly with ElasticSearch. Plugin developers can submit block-only plugins to the directory by including a block.json file and reaching out to @tellyworth in Slack. We’ve also explored the feasibility of supporting GitHub for block plugins.