How do I disable core WordPress styles editor UI in block themes?

79 Views Asked by At

enter image description here

I'm having trouble figuring out how to disable the block theme styles UI when using the editor. I'd like to define these styles myself (in the theme and blocks styles), so I'd like to hide the styles interface completely to avoid confusion for the site admins.

I've tried various add_theme_support and remove_theme_support calls, passing an empty object to the styles key in the block.json file, etc. No luck.

0

There are 0 best solutions below