WordPress / WordPress/gutenberg
Clarify in the HandBook that a block can also be restricted to be a child of Post Type
Open
@ryanwelcher is already working on this.
Since May 18, 2023.
[Type] Developer Documentation
- Dominant language
- JavaScript
- Stars
- 11.8k
- Forks
- 4.9k
- PR merge metrics
- PR metrics pending
Description
This issue https://github.com/WordPress/gutenberg/issues/7845 reflects how is not clear that a block can currently be restricted to only be the child of a Post Type
At least, a note about this capability should be added to the Parent section at Home / Block Editor Handbook / Reference Guides / Block API Reference / Metadata in block.json
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.