@univerjs-pro/shape-editor
v1.6.1
Published
Formula-backed shape editing services for Univer Pro.
Readme
@univerjs-pro/shape-editor
@univerjs-pro/shape-editor provides Formula Shape lifecycle services and Facade APIs for Univer Pro.
Package Overview
| Package | UMD global | CSS | Locales | Facade entry | Worker entry |
| --- | --- | :---: | :---: | :---: | :---: |
| @univerjs-pro/shape-editor | UniverProShapeEditor | No | No | Yes | No |
Installation
pnpm add @univerjs-pro/shape-editor
# or
npm install @univerjs-pro/shape-editorUsage
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 { UniverShapeEditorPlugin } from '@univerjs-pro/shape-editor';
univer.registerPlugin(UniverShapeEditorPlugin);Use the ./facade entry when integrating Formula Shape services through Univer Facade APIs.
Integration Notes
- Import
@univerjs-pro/shape-editor/facadewhen using the package through Univer Facade APIs.
