Skip to content

Commit

Permalink
Update image block to use selectors API
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronrobertshaw authored and oandregal committed Dec 27, 2022
1 parent dc532d5 commit c2f5fd0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/block-library/src/image/block.json
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,6 @@
"color": true,
"radius": true,
"width": true,
"__experimentalSelector": "img, .wp-block-image__crop-area",
"__experimentalSkipSerialization": true,
"__experimentalDefaultControls": {
"color": true,
Expand All @@ -102,6 +101,9 @@
}
}
},
"selectors": {
"border": ".wp-block-image img, .wp-block-image .wp-block-image__crop-area"
},
"styles": [
{
"name": "default",
Expand Down

1 comment on commit c2f5fd0

@github-actions
Copy link

Choose a reason for hiding this comment

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

Flaky tests detected.
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/3787121012
📝 Reported issues:

Please sign in to comment.