In the editor (Gutenberg) is there a way to disable specific settings in the right panel of a specific block?
For example each button in the buttons block has these settings I would like to disable:
I know with the color options here there is an editor styles palette I can return empty which will remove the color option - but this removes the color option across all blocks, I just want to remove these style based settings within the buttons block only.
I'm wondering if editor.BlockEdit may help here but not sure on how to target it to the buttons block or specify the restricted options within it.
I can also see posts referencing removeEditorPanel but that appears to be just for the page based options like featured image, page attributes, etc
Maybe the functionality to do this does not exist?