volto icon indicating copy to clipboard operation
volto copied to clipboard

SchemaProvider in volto-slate should be refactored

Open tiberiuichim opened this issue 2 years ago • 0 comments

  • 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.

tiberiuichim avatar Jul 28 '22 08:07 tiberiuichim