OnoDocs Editor

A customizable Word editor for your application

Open, edit and save Word documents in your browser application. Use the ready-made interface, configure its controls, or adapt the public MIT-licensed Editor source.

Try the editor

Start with a project report or open your own DOCX. Edit text, work with tables and drawings, then download Word or PDF. Ordinary editing runs on your device.

Work with the document

TaskAvailable tools
Write and formatParagraph and character styles, lists, links, find/replace, page and section settings, headers, footers, notes and document navigation.
Build tablesInsert rows and columns, select cell ranges, merge and split cells, set widths, apply borders and shading, and copy supported rich table content.
Add structured contentPictures, shapes, text boxes, grouped-shape diagrams, native Word equations, charts, captions, citations and bibliographies.
Review and readComments, supported tracked changes, comparison and application-owned history. Outline, split, side-by-side, Print Layout, Web Layout and Draft views.
Generate and collectTemplates, mail merge and form authoring/filling, with application callbacks for saving, recovery and submission.

Editing support depends on the content and operation. See the supported features and compatibility reference for Word exchange, graphics, review and export limits.

Make it fit your application

Choose commands, fonts, styles and permitted modes. Add application actions to the ribbon, theme the interface with CSS properties, and connect your own saving or writing services. The document operations remain available through the same public SDK.

The complete Editor source and independent build are public. You can maintain a customized package without a private engine checkout. Start with configuration and extension points, then use the source build guide when you need deeper changes.

Embed it

npm install @onodocs/editor
import { createEditor } from "@onodocs/editor";
const editor = createEditor({ container: document.querySelector("#editor") });
await editor.newDocument();

Give #editor an empty host with a usable height and bundle this module for the browser. Call editor.dispose() on unmount. The complete JavaScript guide covers errors, document replacement and acknowledged storage; the React and Next.js guide includes a working application.

Add document assistance

The optional Agent answers questions, locates passages and makes requested changes through public document APIs. It uses your model backend and participates in editor history. Review changes and use Undo when needed.

Model requests send relevant context to the configured provider. Keep credentials on your backend and control access and usage in your application. Add the document Agent.

Source and production use

The Editor interface is MIT-licensed and may be modified and redistributed under MIT. Its SDK and Canvas dependencies use separate commercial terms. Non-production evaluation needs no account or key and includes an evaluation watermark.

A commercial application license covers the named product and its deployments. Optional Agent model usage is supplied and paid for through your provider. See pricing and evaluation and license scope.