@apollo-office/docs-ui
v1.0.1
Published
Editor UI layer for Univer Docs.
Downloads
314
Maintainers
Readme
@apollo-office/docs-ui
@apollo-office/docs-ui provides the editor UI layer for Univer Docs, including selection rendering, clipboard support, menus, and document interaction services.
Package Overview
| Package | UMD global | CSS | Locales | Facade entry |
| --- | --- | :---: | :---: | :---: |
| @apollo-office/docs-ui | UniverDocsUi | Yes | Yes | Yes |
Installation
pnpm add @apollo-office/docs-ui
# or
npm install @apollo-office/docs-uiKeep all @univerjs/* packages on the same version.
Usage
import '@apollo-office/docs-ui/lib/index.css';
import EnUS from '@apollo-office/docs-ui/locale/en-US';
import { UniverDocsUIPlugin } from '@apollo-office/docs-ui';
univer.registerPlugin(UniverDocsUIPlugin);
// Merge EnUS into your Univer locale map when this package contributes UI text.