SuperEditor is the low-level DOCX editing engine that powers SuperDoc. Most apps reach for one of the higher layers first; this page documents what’s underneath when you need it.Documentation Index
Fetch the complete documentation index at: https://docs.superdoc.dev/llms.txt
Use this file to discover all available pages before exploring further.
Pick the right layer
Use SuperDoc + Custom UI for custom React UI.<SuperDocEditor> (or new SuperDoc(...)) plus superdoc/ui/react gives you typed hooks for toolbar, comments, tracked changes, selection, and document control. See Custom UI.
Use the Document API for document mutations. editor.doc.* is the stable, request/response surface that’s identical on server, client, and AI agents. It’s the recommended path for any insert / replace / format / comment / tracked-change operation.
Use SuperDoc with built-in modules when the standard look is fine. See the Modules section.
Reach for SuperEditor directly when:
- You’re integrating with a framework SuperDoc doesn’t yet wrap.
- You need headless/server-side processing.
- You’re building a custom extension that taps into ProseMirror plugins or schemas.
- You explicitly need engine internals the higher layers don’t surface.
Quick start
Key initialization steps
- Import styles and the Editor class
- Call
Editor.open()- Pass a file source and options. The editor handles parsing, extensions, and mounting automatically.
Components
TheSuperEditor Vue component wraps the Editor class with reactive props and events. Use it in Vue apps for automatic lifecycle management. For other frameworks, use Editor.open() directly.
API structure
- Configuration - Initialization options
- Methods - Control the editor and access properties
- Events - React to changes

