Learn Gutenberg plugin have different examples of custom blocks development. Showing examples of different APIs and functionalities.
This plugin created using @wordpress/create-block package.
You can find all the custom blocks under Learn Gutenberg
block category.
Using client-side or server-side rendering.
- Block Controls: Block Toolbar and Settings Sidebar
- Component Reference - Refer child pages for all components.
- InspectorControls
- BlockControls
- Nested Blocks: Using InnerBlocks
- Allowed Blocks
- Orientation
- Template
- Post Template
- Parent-Child InnerBlocks
- InnerBlocks
- API Versions
- Registration
- Metadata
- Edit and Save
- Attributes
- Supports
- Styles
- Templates
- Patterns
- Deprecation
- Variations
- Transforms
- Context
- Annotations
- Data Module Reference
- core: WordPress Core Data
- core/annotations: Annotations
- core/blocks: Block Types Data
- core/block-editor: The Block Editor’s Data
- core/editor: The Post Editor’s Data
- core/edit-post: The Editor’s UI Data
- core/notices: Notices Data
- core/nux: The NUX (New User Experience) Data
- core/viewport: The Viewport Data