Skip to content

Conversation

@shimotmk
Copy link
Contributor

@shimotmk shimotmk commented Nov 27, 2025

What?

Related #57373

This PR adds visibility key to supports definition in block.json schema.

Why?

How?

Testing Instructions

You should see the visibility key listed in the supports property.

visibility

@shimotmk shimotmk self-assigned this Nov 27, 2025
@shimotmk shimotmk added [Type] Developer Documentation Documentation for developers [Feature] Blocks Overall functionality of blocks labels Nov 27, 2025
@github-actions
Copy link

github-actions bot commented Nov 27, 2025

The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the props-bot label.

If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message.

Co-authored-by: shimotmk <[email protected]>
Co-authored-by: t-hamano <[email protected]>

To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook.

Copy link
Contributor

@t-hamano t-hamano left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice catch!

Can you add the visibility section to the end of this file following the format of the other sections?

@t-hamano t-hamano added the Backport to WP Minor Release Pull request that needs to be backported to a WordPress minor release label Nov 27, 2025
@shimotmk
Copy link
Contributor Author

@t-hamano
Thank you! I fixed it

Copy link
Contributor

@t-hamano t-hamano left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@github-actions
Copy link

Flaky tests detected in d8e276f.
Some tests passed with failed attempts. The failures may not be related to this commit but are still reported for visibility. See the documentation for more information.

🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/19734122611
📝 Reported issues:

@shimotmk shimotmk merged commit 7a271df into trunk Nov 27, 2025
34 checks passed
@shimotmk shimotmk deleted the block-json-schema-visibility branch November 27, 2025 12:54
@github-actions github-actions bot added this to the Gutenberg 22.3 milestone Nov 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Backport to WP Minor Release Pull request that needs to be backported to a WordPress minor release [Feature] Blocks Overall functionality of blocks [Type] Developer Documentation Documentation for developers

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants