Skip to content
This repository was archived by the owner on Jun 19, 2025. It is now read-only.

Content attribute type array instead of string in blocks-non-jsx/03-editable block example#228

Merged
ryanwelcher merged 1 commit intoWordPress:trunkfrom
tloureiro:bug/content-attribute-type-for-03-editable
Mar 7, 2023
Merged

Content attribute type array instead of string in blocks-non-jsx/03-editable block example#228
ryanwelcher merged 1 commit intoWordPress:trunkfrom
tloureiro:bug/content-attribute-type-for-03-editable

Conversation

@tloureiro
Copy link
Copy Markdown
Contributor

I removed all the attributes in the PHP's block registration, since we have all of them in blocks.json already and they seem to be more correct (blocks.json is using a string instead of an array for content attribute type)

Related bug: #220

Copy link
Copy Markdown
Contributor

@ryanwelcher ryanwelcher left a comment

Choose a reason for hiding this comment

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

Thanks for the PR. LGTM

@ryanwelcher ryanwelcher merged commit 7c630d4 into WordPress:trunk Mar 7, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants