@danmeon/univer-docs-ui
v1.5.2-carenode.7
Published
Unofficial Carenode fork of @univerjs/docs-ui 1.5.2 (Univer by DreamNum), not an official Univer release. Editor UI layer for Univer Docs.
Maintainers
Readme
Unofficial build.
@danmeon/[email protected]is a Carenode fork of@univerjs/docs-ui1.5.2 from Univer by DreamNum. It is not an official Univer release and DreamNum does not support it. It is distributed under the same Apache-2.0 license (see LICENSE).Built from
DanMeon/univerbranchcarenode/v1.5.2, commit47617674e922d90bb50e1dd62b6efc6106193dd0.
Source files changed from upstream v1.5.2 in this package (each changed file carries a "Modified by Carenode" header):
packages/docs-ui/src/controllers/render-controllers/doc-ime-input.controller.tspackages/docs-ui/src/controllers/render-controllers/doc-input.controller.tspackages/docs-ui/src/services/doc-menu-style.service.tspackages/docs-ui/src/services/mobile/doc-selection-render.service.tspackages/docs-ui/src/services/selection/doc-selection-render.service.tspackages/docs-ui/src/services/selection/hidden-input-edit.ts
@univerjs/docs-ui
@univerjs/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 | Worker entry |
| --- | --- | :---: | :---: | :---: | :---: |
| @univerjs/docs-ui | UniverDocsUi | Yes | Yes | Yes | No |
Installation
pnpm add @univerjs/docs-ui
# or
npm install @univerjs/docs-uiUsage
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/docs-ui/lib/index.css';
import EnUS from '@univerjs/docs-ui/locale/en-US';
import { UniverDocsUIPlugin } from '@univerjs/docs-ui';
univer.registerPlugin(UniverDocsUIPlugin);
// Merge EnUS into your Univer locale map when this package contributes UI text.Integration Notes
- Import
@univerjs/docs-ui/facadewhen using this package through Univer Facade APIs.
