Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Block API: Apply enhancements included in WordPress 5.8 #33252

Merged
merged 2 commits into from
Jul 8, 2021

Conversation

gziolo
Copy link
Member

@gziolo gziolo commented Jul 7, 2021

Description

Related to #22151.

This PR brings back all the details shared in the dev note https://make.wordpress.org/core/2021/06/23/block-api-enhancements-in-wordpress-5-8/ into the block editor handbook.

We should land all updates to the block editor handbook before WordPress 5.8 is out (July 20th).

@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 requested review from priethor and annezazu July 7, 2021 09:24
@gziolo gziolo added the [Status] In Progress Tracking issues with work in progress label Jul 7, 2021
@gziolo gziolo requested a review from mkaz July 7, 2021 09:26
@@ -38,6 +38,30 @@ wp.hooks.addFilter(
);
```

### `media.crossOrigin`
Copy link
Member Author

@gziolo gziolo Jul 7, 2021

Choose a reason for hiding this comment

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

It has nothing to do with Block API so I moved to a different document.

@gziolo gziolo force-pushed the update/docs-block-api-wp-5.8 branch from 52883a0 to 140342d Compare July 7, 2021 10:40
@gziolo gziolo marked this pull request as ready for review July 7, 2021 10:40
@gziolo gziolo removed the [Status] In Progress Tracking issues with work in progress label Jul 7, 2021
@gziolo gziolo force-pushed the update/docs-block-api-wp-5.8 branch from 140342d to abe3f07 Compare July 7, 2021 11:03
@gziolo gziolo force-pushed the update/docs-block-api-wp-5.8 branch from abe3f07 to 0a775ff Compare July 7, 2021 11:42
@gziolo gziolo self-assigned this Jul 7, 2021
Copy link
Contributor

@priethor priethor left a comment

Choose a reason for hiding this comment

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

Looks good to me! Checklist:

  • Content from the original dev note
  • Formatting
  • Links
  • Structure (moving media.crossOrigin to the editor filters document)

@gziolo gziolo merged commit e512bd3 into trunk Jul 8, 2021
@gziolo gziolo deleted the update/docs-block-api-wp-5.8 branch July 8, 2021 06:17
@github-actions github-actions bot added this to the Gutenberg 11.1 milestone Jul 8, 2021
sarayourfriend pushed a commit that referenced this pull request Jul 15, 2021
* Block API: Apply enhancements included in WordPress 5.8
See https://make.wordpress.org/core/2021/06/23/block-api-enhancements-in-wordpress-5-8/.

* Document two new server-side filters to use when registering a block
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.

None yet

2 participants