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 committed Mar 13, 2023
1 parent 9d073cf commit b28fd4a
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

0 comments on commit b28fd4a

Please sign in to comment.