eigenpal/docx-editor

Public

Open-source WYSIWYG .docx editor library for React and Vue with canonical OOXML, tracked changes, and real-time collaboration. Agent-ready.

  • Stars528+27 tuần này
  • Forks116
  • Watchers6
  • Issues101
  • Ngày tạo20/07/2026
  • Cập nhật gần nhất29/10/2026
  • Ngôn ngữTypeScript
  • Giấy phép—
README.md28.6 KBRaw

DOCX Editor — .docx in, .docx out. Open source, agent ready, client-side.

npm version npm downloads license Demo Documentation

A visual .docx editor for React and Vue. Edit paginated Word documents in the browser and preserve untouched content and unsupported OOXML when saving. Comments and tracked changes require the EigenPal Pro License.

Live demo | Documentation | Roadmap

Quick start

Install the adapter for your framework and its required engine peer:

npm install @docx-editor.dev/react @docx-editor.dev/core   # React
npm install @docx-editor.dev/vue @docx-editor.dev/core     # Vue

See the React or Vue quick start.

For Node.js, use ^20.16.0 || >=22.3.0. Browser applications can use the packages with their build tool.

docx-editor screenshot

Features

Feature Description
Editor API Automate documents in a browser or server with a supported subset of Word Office.js.
Review workflow Add comments and tracked changes with the review module.
Word fidelity Check rendering and editing support for document features.
Save and reopen Preserve document structure, unsupported OOXML, and embedded files.
Collaboration Edit together with remote cursors, shared changes, and personal undo.
Custom UI Build controls with shared commands, components, and styles.
React and Vue Use either adapter with the same document engine.
Translations Translate editor controls with locale catalogs and custom strings.
PDF export Convert DOCX to PDF on a Node.js server.
Markdown export Convert DOCX to Markdown with page references and images.

Review, collaboration, the Editor API, and PDF export require separate packages under the EigenPal Pro License.

Packages

Package Description Docs
@docx-editor.dev/react React editor components and hooks. React adapter
@docx-editor.dev/vue Vue 3 editor components and composables. Vue adapter
@docx-editor.dev/core DOCX parsing, editing, and rendering. Core engine
@docx-editor.dev/i18n Translations and locale types. Translations
@docx-editor.dev/fonts Open-licensed substitutes for Word fonts. Fonts and measurement
@docx-editor.dev/docx-to-markdown

Nội dung README thuộc về eigenpal và cộng đồng đóng góp, giấy phép Không có giấy phép. Nguồn: github.com/eigenpal/docx-editor