Open jordanparker6 opened 2 weeks ago
For the export, going to pandoc JSON as an intermediately could be a good approach to export to multiple formats
@jordanparker6
I have used Mammoth.js, but it failed because the DOCX content contains a lot of unusual formatting, which is hard to control.
maybe you can provide a plugin of DOCX.
Importing via
mamoth.js
is going to always have issues as many of the docx styles and blocks are not supported.See https://github.com/mwilliamson/mammoth.js/
Unfortunately, something more complex is going to be required for this feature to work for production use cases.
Happy to lend a hand if anyone wants to team up on this as having the import feature support the full set of default blocks and marks of the
canvas-editor
would be amazing.