@univerjs/docs
@univerjs/docs provides the document data model and core rich-text operations for Univer Docs, independent of the UI layer.
Package Overview
| Package | UMD global | CSS | Locales | Facade entry |
|---|---|---|---|---|
@univerjs/docs |
UniverDocs |
No | No | No |
Installation
pnpm add @univerjs/docs
# or
npm install @univerjs/docs
Keep all @univerjs/* packages on the same version.
Usage
import { UniverDocsPlugin } from '@univerjs/docs';
univer.registerPlugin(UniverDocsPlugin);