Docs: Add explanations about attributes of each Core Block in the documentation (and in the source code) #64057
Labels
[Feature] Extensibility
The ability to extend blocks or the editing experience
[Type] Developer Documentation
Documentation for developers
[Type] Tracking Issue
Tactical breakdown of efforts across the codebase and/or tied to Overview issues.
The only official documentation available for core blocks is located at Block Editor Handbook > Reference Guides > Core Blocks Reference. This page lacks detailed explanations about each core block’s attributes and points the user to the source code for more information.
Providing extra explanations about the attributes of core blocks is essential for developers to fully understand and utilize these blocks effectively.
I propose including JSDoc comments in the Edit component of each block to explain the props.attributes object received by every core block’s edit component.
Besides providing extra info on these attributes directly in the source code, these descriptions could also be used (with some custom extra code) by gen-block-lib-list.js to generate more extended info for each block at Block Editor Handbook > Reference Guides > Core Blocks Reference
The text was updated successfully, but these errors were encountered: