docs
docs copied to clipboard
✨Import a odt / docx document
Feature Request
Import from a Word document. Try to keep as much properties from the Word document as possible (indent / color / size). To do it, you will probably need to write a transpiler (Word to JSon compatible BlockNote).
Resources
- https://www.blocknotejs.org/docs/editor-api/manipulating-blocks
- https://github.com/numerique-gouv/impress/blob/main/src/frontend/apps/impress/src/features/docs/doc-editor/components/BlockNoteEditor.tsx
@sampaccoud @AntoLC MarkItDown may be a suitable library for the import. It also supports other Office formats.