Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Documentation] Add @examples to core/blocks selectors. #42572

Merged
merged 21 commits into from
Jul 22, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
60bba31
Add example for setDefaultBlockName.
ryanwelcher Jul 19, 2022
aaef3ab
Add example for setCategories and getCategories
ryanwelcher Jul 19, 2022
1b56ca6
Add more simplified getCategories example. Add correct param type to …
ryanwelcher Jul 20, 2022
209e2a6
Add example for getBlockTypes and getBlockType.
ryanwelcher Jul 20, 2022
1b56b3a
Add example for getBlockStyles.
ryanwelcher Jul 20, 2022
ca6a8c5
Add example for getBlockVariations.
ryanwelcher Jul 20, 2022
8d00f85
Add example for getActiveBlockVariation.
ryanwelcher Jul 20, 2022
23b5815
Add example for getDefaultBlockVariation.
ryanwelcher Jul 20, 2022
97a6655
Add example for getDefaultBlockName.
ryanwelcher Jul 20, 2022
def1adb
Add examples for getUnregisteredFallbackBlockName and getFreeformFall…
ryanwelcher Jul 20, 2022
fa69115
Add example for getCollections.
ryanwelcher Jul 20, 2022
381342b
Add example and update doc block for getGroupingBlockName.
ryanwelcher Jul 20, 2022
c097360
Add example for getChildBlockNames.
ryanwelcher Jul 20, 2022
7b22617
Add examples for:
ryanwelcher Jul 20, 2022
c2a0195
Add example for isMatchingSearchTerm.
ryanwelcher Jul 20, 2022
03d0f07
Add dependencies array to useSelect.
ryanwelcher Jul 21, 2022
0f8c8ea
Merge branch 'trunk' into feature/add-examples-for-core-blocks-selectors
ryanwelcher Jul 21, 2022
8cff85b
Add second parameter to useSelect examples.
ryanwelcher Jul 21, 2022
c7d8cef
Simplify the getActiveBlockVariation example.
ryanwelcher Jul 21, 2022
7f8bc9f
Much better example for isMatchingSearchTerm.
ryanwelcher Jul 21, 2022
eed2bb0
Add dependency to example for setCategories
ryanwelcher Jul 22, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading