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.

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.

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.

Receive complete DOCX files without replacing the open editor. Preserve scroll position and show temporary highlights with change summaries.

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 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.

Edit an open DOCX through typed agent tools backed by the public editor-api document model. The example requires the EigenPal Pro License.

.docx in. .docx out.

Open a real document in the editor, then wire it into your app. It all runs client-side.