HeadlinesBriefing favicon HeadlinesBriefing.com

Open‑Source OOXML Editor Hits 1.0, Powers In‑Browser Word Docs

Hacker News •
×

The eigenpal team released version 1.0 of its open‑source docx‑editor library, letting web apps edit Word files natively in the browser. Unlike converters that turn .docx into HTML, the tool parses the canonical OOXML and renders paged documents with its own layout engine. Edits round‑trip to .docx, preserving tracked changes and supporting real‑time collaboration. It supports tracked changes view and can be extended with plugins.

The core package, @eigenpal/docx-editor-core, is framework‑agnostic and supplies an OOXML parser, serializer, ProseMirror schema, and a CSS‑based layout engine. Thin adapters layer UI for React (@eigenpal/docx-editor-react) and Vue 3 (@eigenpal/docx-editor-vue), while a Nuxt module wraps the Vue version for SSR‑friendly use. Plugins handle tables and comments, mirroring desktop Word behavior.

Developers install the stack via npm—e.g., npm install @eigenpal/docx-editor-react—and embed <DocxEditor> with a simple file‑input hook. A live preview runs at latest.docx-editor.dev, and the project ships under Apache 2.0 with full contribution guidelines. The library’s agent SDK enables assistance, letting AI suggest edits or format fixes. By keeping the core separate, forks automatically inherit parser and rendering fixes without manual backports, delivering reliable in‑browser Word editing.