Documentation
A DOCX editor for React that reads and writes OOXML directly.
@portone/docx-editor opens a Word document in the browser, lets a person edit it, and writes
the file back out as DOCX.
It edits OOXML in place rather than converting to HTML and back, so what it does not model is
written back unchanged, and a round trip it cannot make safely fails with a stable error code.
Getting started
Install the package, mount the editor, and export the edited document.
Features
What you can edit, what is preserved untouched, and the current limitations.
Props
Every DocxEditor prop, the imperative handle, and which props are read once.
Styling
The stylesheet, the custom properties you may set, and font fallbacks.
Editor API
Commands, queries, presets, and plugins for controls of your own.
Core API
Programmatic DOCX import and export, server parsers, verification of a commenter's file, and error codes.