For example, if I am shadowing the View.jsx
for a block from an addon and some of the settings for that block are no longer applicable with the new UI, do I need to shadow the entire edit block and create a new BlockDataForm
? I have tried to use schema extenders (code below) to remove a property, but this just seems to throw an exception when you try to edit the block:
config.blocks.blocksConfig.accordion.schemaEnhancer = ({ schema }) => {
delete schema.properties.non_exclusive;
return schema;
};