Skip to content

Update skip serialization docs to reflect ability to target specific properties#41277

Merged
Mamaduka merged 2 commits intotrunkfrom
update/block-supports-skip-serialization-docs
Jun 27, 2022
Merged

Update skip serialization docs to reflect ability to target specific properties#41277
Mamaduka merged 2 commits intotrunkfrom
update/block-supports-skip-serialization-docs

Conversation

@getdave
Copy link
Contributor

@getdave getdave commented May 24, 2022

What?

Updates the docs on Block Supports to reflect the ability to target individual Block Supports properties via the array syntax on __experimentalSkipSerialization.

Support for this was added in #36293 (and shipped in 13.0.0) thanks to great work from @aaronrobertshaw.

Why?

The docs were out of date.

How?

  • Removes reference inability to target individual properties.
  • Adds example of targeting specific properties only.

Testing Instructions

  • Read docs for comprehension and spelling/grammar.
  • Check I got things right by referencing the PR which added support.
  • Check the example is correct.
  • Profit!

Screenshots or screencast

@getdave getdave added the [Type] Developer Documentation Documentation for developers label May 24, 2022
@getdave getdave marked this pull request as ready for review May 24, 2022 09:18
Copy link
Contributor

@scruffian scruffian left a comment

Choose a reason for hiding this comment

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

LGTM

@Mamaduka Mamaduka merged commit f29d871 into trunk Jun 27, 2022
@Mamaduka Mamaduka deleted the update/block-supports-skip-serialization-docs branch June 27, 2022 08:33
@github-actions github-actions bot added this to the Gutenberg 13.6 milestone Jun 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

[Type] Developer Documentation Documentation for developers

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants