From b28fd4a8779bc2579cb9e2823411569cd7a102ac Mon Sep 17 00:00:00 2001 From: Aaron Robertshaw <60436221+aaronrobertshaw@users.noreply.github.com> Date: Tue, 13 Dec 2022 15:52:06 +0800 Subject: [PATCH] Update image block to use selectors API --- packages/block-library/src/image/block.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/block-library/src/image/block.json b/packages/block-library/src/image/block.json index 62edb882be0c9..ddb33649d77ef 100644 --- a/packages/block-library/src/image/block.json +++ b/packages/block-library/src/image/block.json @@ -93,7 +93,6 @@ "color": true, "radius": true, "width": true, - "__experimentalSelector": "img, .wp-block-image__crop-area", "__experimentalSkipSerialization": true, "__experimentalDefaultControls": { "color": true, @@ -102,6 +101,9 @@ } } }, + "selectors": { + "border": ".wp-block-image img, .wp-block-image .wp-block-image__crop-area" + }, "styles": [ { "name": "default",