WordPress / WordPress/gutenberg

Clarify in the HandBook that a block can also be restricted to be a child of Post Type

Open
#44,729 1 comment 0 reactions 2 assignees View on GitHub

@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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.