Theme.json: __experimentalSelector
not working for blocks newly adopting it
#41296
Labels
[Block] Image
Affects the Image Block
[Feature] Design Tools
Tools that impact the appearance of blocks both to expand the number of tools and improve the experi
Global Styles
Anything related to the broader Global Styles efforts, including Styles Engine and theme.json
[Type] Bug
An existing feature does not function as intended
Description
Adding an
__experimentalSelector
to a server-side registered block's supports within itsblock.json
file has no effect.What I expected
I expected that adding
__experimentalSelector
to a block'ssupports
config would override the default.wp-block-<name>
selector generated by theme.json.What happens instead
Nothing.
Extra information
__experimentalSelector
to the Image blockStep-by-step reproduction instructions
supports.__experimentalSelector
to the image block.json file and set it to".wp-block-image img"
.wp-block-image
not the selector you set i.e..wp-block-image img
Screenshots, screen recording, code snippet
No response
Environment info
Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Yes
The text was updated successfully, but these errors were encountered: