@univerjs/drawing
v1.5.2
Published
Shared drawing models, commands, and services for Univer.
Readme
@univerjs/drawing
@univerjs/drawing provides the shared drawing data model, services, and commands used by Docs, Sheets, and other drawing-enabled surfaces.
Package Overview
| Package | UMD global | CSS | Locales | Facade entry | Worker entry |
| --- | --- | :---: | :---: | :---: | :---: |
| @univerjs/drawing | UniverDrawing | No | No | No | No |
Installation
pnpm add @univerjs/drawing
# or
npm install @univerjs/drawingUsage
Start with the integration setup for your document type, including its required plugins, styles, and locale resources. The snippet below assumes that setup is complete.
import { UniverDrawingPlugin } from '@univerjs/drawing';
univer.registerPlugin(UniverDrawingPlugin);