I use createHigherOrderComponent to set it up in the core block from the plugin.
Is there any way to add a data- or style attribute to the core block to match those settings?
I was thinking that if useBlockProps() had hooks, you could do that, do you have such hooks?