Skip to content

Block JSON schema: add visibility key to supports definition#73612

Merged
shimotmk merged 4 commits intotrunkfrom
block-json-schema-visibility
Nov 27, 2025
Merged

Block JSON schema: add visibility key to supports definition#73612
shimotmk merged 4 commits intotrunkfrom
block-json-schema-visibility

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 <shimotomoki@git.wordpress.org>
Co-authored-by: t-hamano <wildworks@git.wordpress.org>

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 and others added 2 commits November 27, 2025 19:57
Co-authored-by: Aki Hamano <54422211+t-hamano@users.noreply.github.com>
@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
t-hamano added a commit that referenced this pull request Jan 21, 2026
Co-authored-by: shimotmk <shimotomoki@git.wordpress.org>
Co-authored-by: t-hamano <wildworks@git.wordpress.org>
@t-hamano t-hamano mentioned this pull request Jan 21, 2026
25 tasks
t-hamano added a commit that referenced this pull request Jan 22, 2026
t-hamano added a commit that referenced this pull request Jan 28, 2026
Co-authored-by: shimotmk <shimotomoki@git.wordpress.org>
Co-authored-by: t-hamano <wildworks@git.wordpress.org>
@t-hamano
Copy link
Contributor

This PR has been backported to the wp/6.9 branch. #74806

@t-hamano t-hamano removed the Backport to WP Minor Release Pull request that needs to be backported to a WordPress minor release label Jan 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

[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.

2 participants

Comments