Skip to content

Build your own AI office with Univer Office SDK. Bring editing, calculation, collaboration, and file processing into your product for people and AI agents. Built on an extensible open-source core.

1.5 KB
Raw Blame

@univerjs/docs-drawing

npm version license downloads

@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 Worker entry
@univerjs/docs-drawing UniverDocsDrawing No No Yes No

Installation

pnpm add @univerjs/docs-drawing
# or
npm install @univerjs/docs-drawing

Usage

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 { UniverDocsDrawingPlugin } from '@univerjs/docs-drawing';

univer.registerPlugin(UniverDocsDrawingPlugin);

Integration Notes

  • Import @univerjs/docs-drawing/facade when using this package through Univer Facade APIs.

Resources