-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Documentation] Adding
@example
entries to the public API exposed i…
…n `core/blocks` (#42745) * Adding a simple example and reference to the Create a block tutorial. * Add examples for registerBlockCollection and unregisterBlockType. * Add examples for setDefaultBlockName and setGroupingBlockName. * Add example for setCategory. * Add example for updateCategory and @ignore getCategories in favor of hook usage. * Add examples for registerBlockStyle and unregisterBlockStyle. * Add examples for registerBlockVariation, unregisterBlockVariation, and @ignore getBlockVariations. * Add example for unregisterBlockCollection. * Update registerBlockType example to remove i18n in save property. * Update packages/blocks/README.md Co-authored-by: Greg Ziółkowski <[email protected]> * Updates per code review. * Rebuild docs to include the committed suggestion. Co-authored-by: Greg Ziółkowski <[email protected]>
- Loading branch information
1 parent
6ecb4c7
commit a4a8751
Showing
3 changed files
with
448 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.