Skip to content

Latest commit

 

History

History

sheets-drawing-ui

README.md

@univerjs/sheets-drawing-ui

npm version license downloads

@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 Worker entry
@univerjs/sheets-drawing-ui UniverSheetsDrawingUi Yes Yes Yes No

Installation

pnpm add @univerjs/sheets-drawing-ui
# or
npm install @univerjs/sheets-drawing-ui

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 '@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.

Integration Notes

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

Resources