@sofereditor/import-docx
v0.3.1
Published
@sofereditor/import-docx — Parse .docx (OOXML) in browser or Node into a SerializedDocument loadable by the Sofer editor.
Maintainers
Readme
@sofer/import-docx
Parse .docx (OOXML) into a Sofer SerializedDocument.
Works in the browser and in Node. No native deps.
npm install @sofer/import-docximport { docxBlobToDocument } from '@sofer/import-docx';
const serialized = await docxBlobToDocument(fileOrBlob);
editor.doc.loadFromJSON(serialized);License
AGPL-3.0-or-later © Rafael Marreca. Part of the Sofer editor monorepo.
