Skip to content

Latest commit

 

History

History

docs-drawing

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

README.md

@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