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/docs-quick-insert-ui
@univerjs/docs-quick-insert-ui adds quick-insert UI capabilities for Univer Docs, including insert affordances backed by the Docs and Drawing packages.
Package Overview
| Package | UMD global | CSS | Locales | Facade entry |
|---|---|---|---|---|
@univerjs/docs-quick-insert-ui |
UniverDocsQuickInsertUi |
Yes | Yes | No |
Installation
pnpm add @univerjs/docs-quick-insert-ui
# or
npm install @univerjs/docs-quick-insert-ui
Keep all @univerjs/* packages on the same version.
Usage
import '@univerjs/docs-quick-insert-ui/lib/index.css';
import EnUS from '@univerjs/docs-quick-insert-ui/locale/en-US';
import { UniverDocsQuickInsertUIPlugin } from '@univerjs/docs-quick-insert-ui';
univer.registerPlugin(UniverDocsQuickInsertUIPlugin);
// Merge EnUS into your Univer locale map when this package contributes UI text.