When i define a background-color through the Gutenberg-UI, i want that it gets applied to a specific child element of my custom block. At the moment this color gets applied to the Gutenberg wrapper. I thought i can achieve this with the “selectors” attribute which is described here:
https://developer.wordpress.org/block-editor/reference-guides/block-api/block-selectors/
i tried everything but can not get it working. Any ideas?
https://imgur.com/lpCNGUh