I have an old Volto site that was populated with content using DraftJS, and I need to upgrade it to the latest version. While reviewing the documentation, I found references to the blocks conversion tool, but there doesn't seem to be any information about migrating content from DraftJS to Slate.
Additionally, I noticed that plone.volto has a migrate_richtext function, but it appears to only handle HTML to Slate conversion. I'm considering adding a draftjs2slate option to content_import in c.exportimport to facilitate this migration.
Has anyone else encountered this issue? Are there any existing tools or best practices for converting DraftJS content to Slate in Volto? Any guidance or suggestions would be greatly appreciated.
H iSteve, thanks for the effort you put into this response. I had read all those references but because I prefer python to JS, instead of extending @mamico's PR, I created a custom importer for .c.exportimport. It's not complete but I managed to migrate my small site successfully. Here the code Importer that converts DraftJS text blocks to Slate · GitHub