Consider restructuring Block Registration docs in handbook #20161
Closed as not planned
Description
opened on Feb 11, 2020
Description
The Block Registration page in the handbook is currently quite long and hard to navigate:
https://developer.wordpress.org/block-editor/developers/block-api/block-registration/
I'd like to propose dividing it up into the following pages to make it easier to navigate and find information:
- Block Registration—only include details of
registerBlockType
andregisterBlockCollection
. Link to a newBlock Configuration
page with details of the configuration. - Block Configuration—Move https://developer.wordpress.org/block-editor/developers/block-api/block-registration/#block-configuration to its own page. Add new subheadings for
edit
andsave
and link to theEdit and Save
page under those subheadings. - Transforms—Move https://developer.wordpress.org/block-editor/developers/block-api/block-registration/#transforms-optional to its own new page (but keep a subheading in the Block Configuration page and link to this page from there). Extract Block Transforms into its own handbook page #21734
- Supports—Move https://developer.wordpress.org/block-editor/developers/block-api/block-registration/#supports-optional to its own new page (but keep a subheading in the Block Configuration page and link to this page from there). Add new block supports page to the handbook #25647
Activity