Skip to content

Conversation

@gziolo
Copy link
Member

@gziolo gziolo commented Jul 7, 2021

Description

It looks like there is some misunderstanding about what type apiVersion should have in the block.json file. It was raised by @richtabor on WordPress Slack https://wordpress.slack.com/archives/C02QB2JS7/p1625616501376100:

Question. I’m checking a block (Markdown Comment) with the Block Plugin Checker and I’m seeing this block.json file error. I’m using the same method as indicated in core, as well as the recent Block API Enhancements post. Is this an invalid error, or am I missing something? Thanks!

image

This PR adds the missing section covering apiVersion in block metadata reference guide.

The changes in the Block Plugin Checker are discussed in https://meta.trac.wordpress.org/ticket/5303.

Types of changes

Documentation update.

@gziolo gziolo added [Feature] Block API API that allows to express the block paradigm. [Type] Developer Documentation Documentation for developers labels Jul 7, 2021
@gziolo gziolo self-assigned this Jul 7, 2021
@gziolo gziolo requested review from ellatrix and richtabor July 7, 2021 08:18
Copy link
Member

@Mamaduka Mamaduka left a comment

Choose a reason for hiding this comment

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

LGTM :shipit:

@gziolo gziolo merged commit 8499a38 into trunk Jul 7, 2021
@gziolo gziolo deleted the update/docs-api-version-block-metadata branch July 7, 2021 08:49
@github-actions github-actions bot added this to the Gutenberg 11.1 milestone Jul 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

[Feature] Block API API that allows to express the block paradigm. [Type] Developer Documentation Documentation for developers

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants