mirror of
https://github.com/dream-num/univer.git
synced 2026-10-02 04:24:34 +08:00
@univerjs/docs-drawing
@univerjs/docs-drawing connects the common drawing model to Univer Docs so documents can host and manage drawing objects.
Package Overview
| Package | UMD global | CSS | Locales | Facade entry |
|---|---|---|---|---|
@univerjs/docs-drawing |
UniverDocsDrawing |
No | No | Yes |
Installation
pnpm add @univerjs/docs-drawing
# or
npm install @univerjs/docs-drawing
Keep all @univerjs/* packages on the same version.
Usage
import { UniverDocsDrawingPlugin } from '@univerjs/docs-drawing';
univer.registerPlugin(UniverDocsDrawingPlugin);