@apollo-office/sheets-drawing-ui
v1.0.0
Published
Drawing UI integration for Univer Sheets.
Maintainers
Readme
@apollo-office/sheets-drawing-ui
@apollo-office/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 |
| --- | --- | :---: | :---: | :---: |
| @apollo-office/sheets-drawing-ui | UniverSheetsDrawingUi | Yes | Yes | Yes |
Installation
pnpm add @apollo-office/sheets-drawing-ui
# or
npm install @apollo-office/sheets-drawing-uiKeep all @univerjs/* packages on the same version.
Usage
import '@apollo-office/sheets-drawing-ui/lib/index.css';
import EnUS from '@apollo-office/sheets-drawing-ui/locale/en-US';
import { UniverSheetsDrawingUIPlugin } from '@apollo-office/sheets-drawing-ui';
univer.registerPlugin(UniverSheetsDrawingUIPlugin);
// Merge EnUS into your Univer locale map when this package contributes UI text.