This app uses a language model to read an open DOCX and add comments to selected phrases. Saving the document preserves those comments for Microsoft Word.
Examples
Runnable apps in the docx-editor repository. Clone it, then follow the README in the example you want. Descriptions come from release v2.26.0.
Use a React panel to scroll to a paragraph reference, highlight it, or both. Choose the reference, effect, highlight style, duration, and scroll settings to see the result in the document.
This example loads the React DOCX editor as an Astro island in the browser. It includes the packaged toolbar and a review pane.
@docx-editor.dev/editor-api opens DOCX bytes, queues edits, and saves the edited document. This example fills template placeholders without a browser.
This example uses y-webrtc to replicate a document between browsers. It has no application server or durable shared storage.
This example connects a React editor to a Hocuspocus collaboration server. Remote carets show each person's name and avatar.
This example stores a custom legal citation as a Word content control. You can insert, edit, and save the citation.
Receive complete DOCX files without replacing the open editor. Preserve scroll position and show temporary highlights with change summaries.
Convert a DOCX in your browser and compare the document with its Markdown output.
Edit a DOCX document, generate a PDF preview, and download the result.
These deterministic agents execute document action plans using public editor-api imports. They create their input fixtures, save edited DOCX files, reopen them, and assert targeted edits and preserved content. No LLM credentials are needed.
This example uses the packaged <DocxEditor> component without custom composition.
Igloo Editor shows how you can theme and compose the editor.
This Next.js App Router example loads the React DOCX editor in the browser. It includes the packaged toolbar and a review pane.
This Remix and Vite example loads the React DOCX editor after the route mounts in the browser. It includes the packaged toolbar and a review pane.
Run a Node.js worker that joins a Hocuspocus room as **Review agent** and proposes Word tracked changes. Open the room in two browsers, then accept or reject suggestions from either browser.
This Vite and React app shows the editor composition API with custom chrome.
Edit an open DOCX through typed agent tools backed by the public editor-api document model. The example requires the EigenPal Pro License.
















