Some checks failed
📦 Build / build (push) Has been cancelled
🧪 CI Test / test shard (1/4) (push) Has been cancelled
🧪 CI Test / test shard (2/4) (push) Has been cancelled
🧪 CI Test / test shard (3/4) (push) Has been cancelled
🧪 CI Test / test shard (4/4) (push) Has been cancelled
🧪 CI Test / test (push) Has been cancelled
🧪 CI Test / eslint (push) Has been cancelled
🧪 CI Test / typecheck (push) Has been cancelled
🔫 Sync to Pro / dispatch-sync (push) Has been cancelled
🔮 Sync Mirror / sync (push) Has been cancelled
@univerjs/sheets-drawing-ui
@univerjs/sheets-drawing-ui adds the UI for creating, selecting, editing, and exporting drawing objects in Univer Sheets.
Package Overview
| Package | UMD global | CSS | Locales | Facade entry |
|---|---|---|---|---|
@univerjs/sheets-drawing-ui |
UniverSheetsDrawingUi |
Yes | Yes | Yes |
Installation
pnpm add @univerjs/sheets-drawing-ui
# or
npm install @univerjs/sheets-drawing-ui
Keep all @univerjs/* packages on the same version.
Usage
import '@univerjs/sheets-drawing-ui/lib/index.css';
import EnUS from '@univerjs/sheets-drawing-ui/locale/en-US';
import { UniverSheetsDrawingUIPlugin } from '@univerjs/sheets-drawing-ui';
univer.registerPlugin(UniverSheetsDrawingUIPlugin);
// Merge EnUS into your Univer locale map when this package contributes UI text.