volto
volto copied to clipboard
SchemaProvider in volto-slate should be refactored
- no need to use a component here with a render prop, just use the "schemaEnhancement" behavior. This would imply that the SchemaProviders are no longer components, so it may have some impact on the existing volto-slate plugins.
https://github.com/plone/volto/blob/314323aebfb0e6cf5048bbd45c84eb368dde0624/packages/volto-slate/src/elementEditor/PluginEditor.jsx#L70-L71
- no need to use the BlockDataForm, as we're not editing a Block. InlineForm should be used.