What is the best approach to migrate mosaic content to Volto?

The site has a lot of customized content is there a way to manipulate export-import file to move the data to similar blocks?

Eg. In my Plone/mosaic site I have a collapsible block that is equivalent to volto-accordion-block

You'll have to write your migration. Creating a volto block programatically, from python, is straight-forward, you just need to produce a JSON. For HTML to slate json (Volto's richtext editor) see https://github.com/plone/plone.volto/pull/101

1 Like

My 2c: I would love to see migrations for Mosaic/Cover/etc. to Volto standard blocks. Maybe we can add some helper functions to our migration package...