Package Exports
- @univerjs/docs
- @univerjs/docs/index.js
- @univerjs/docs/lib/cjs/index.js
- @univerjs/docs/lib/es/index.js
- @univerjs/docs/lib/types/basics/__tests__/plain-text.spec.d.ts
- @univerjs/docs/lib/types/basics/component-tools.d.ts
- @univerjs/docs/lib/types/basics/custom-decoration-factory.d.ts
- @univerjs/docs/lib/types/basics/custom-range-factory.d.ts
- @univerjs/docs/lib/types/basics/custom-range.d.ts
- @univerjs/docs/lib/types/basics/docs-view-key.d.ts
- @univerjs/docs/lib/types/basics/paragraph.d.ts
- @univerjs/docs/lib/types/basics/plain-text.d.ts
- @univerjs/docs/lib/types/basics/replace.d.ts
- @univerjs/docs/lib/types/basics/retain-delete-params.d.ts
- @univerjs/docs/lib/types/basics/selection.d.ts
- @univerjs/docs/lib/types/basics/table.d.ts
- @univerjs/docs/lib/types/commands/commands/__tests__/clipboard.command.spec.d.ts
- @univerjs/docs/lib/types/commands/commands/__tests__/core-editing.command.spec.d.ts
- @univerjs/docs/lib/types/commands/commands/__tests__/create-command-test-bed.d.ts
- @univerjs/docs/lib/types/commands/commands/__tests__/inline-format.command.spec.d.ts
- @univerjs/docs/lib/types/commands/commands/__tests__/mock-text-selection-render-manager.d.ts
- @univerjs/docs/lib/types/commands/commands/__tests__/replace-content.command.spec.d.ts
- @univerjs/docs/lib/types/commands/commands/auto-format.command.d.ts
- @univerjs/docs/lib/types/commands/commands/break-line.command.d.ts
- @univerjs/docs/lib/types/commands/commands/clipboard.inner.command.d.ts
- @univerjs/docs/lib/types/commands/commands/core-editing.command.d.ts
- @univerjs/docs/lib/types/commands/commands/delete.command.d.ts
- @univerjs/docs/lib/types/commands/commands/ime-input.command.d.ts
- @univerjs/docs/lib/types/commands/commands/inline-format.command.d.ts
- @univerjs/docs/lib/types/commands/commands/list.command.d.ts
- @univerjs/docs/lib/types/commands/commands/paragraph-align.command.d.ts
- @univerjs/docs/lib/types/commands/commands/replace-content.command.d.ts
- @univerjs/docs/lib/types/commands/commands/set-doc-zoom-ratio.command.d.ts
- @univerjs/docs/lib/types/commands/commands/table/doc-table-create.command.d.ts
- @univerjs/docs/lib/types/commands/commands/table/doc-table-delete.command.d.ts
- @univerjs/docs/lib/types/commands/commands/table/doc-table-insert.command.d.ts
- @univerjs/docs/lib/types/commands/commands/table/doc-table-tab.command.d.ts
- @univerjs/docs/lib/types/commands/commands/table/table.d.ts
- @univerjs/docs/lib/types/commands/mutations/core-editing.mutation.d.ts
- @univerjs/docs/lib/types/commands/mutations/docs-rename.mutation.d.ts
- @univerjs/docs/lib/types/commands/operations/cursor.operation.d.ts
- @univerjs/docs/lib/types/commands/operations/select-all.operation.d.ts
- @univerjs/docs/lib/types/commands/operations/set-doc-zoom-ratio.operation.d.ts
- @univerjs/docs/lib/types/commands/operations/text-selection.operation.d.ts
- @univerjs/docs/lib/types/commands/util.d.ts
- @univerjs/docs/lib/types/controllers/config.schema.d.ts
- @univerjs/docs/lib/types/controllers/custom-range.controller.d.ts
- @univerjs/docs/lib/types/controllers/ime-input.controller.d.ts
- @univerjs/docs/lib/types/controllers/move-cursor.controller.d.ts
- @univerjs/docs/lib/types/controllers/normal-input.controller.d.ts
- @univerjs/docs/lib/types/doc-plugin.d.ts
- @univerjs/docs/lib/types/index.d.ts
- @univerjs/docs/lib/types/services/doc-auto-format.service.d.ts
- @univerjs/docs/lib/types/services/doc-interceptor/doc-interceptor.service.d.ts
- @univerjs/docs/lib/types/services/doc-interceptor/interceptor-const.d.ts
- @univerjs/docs/lib/types/services/doc-skeleton-manager.service.d.ts
- @univerjs/docs/lib/types/services/doc-state-change-manager.service.d.ts
- @univerjs/docs/lib/types/services/doc-view-model-manager.service.d.ts
- @univerjs/docs/lib/types/services/ime-input-manager.service.d.ts
- @univerjs/docs/lib/types/services/text-selection-manager.service.d.ts
- @univerjs/docs/lib/types/types/enums/delete-direction.d.ts
- @univerjs/docs/lib/umd/index.js
Readme
@univerjs/docs
Package Overview
| Package Name | UMD Namespace | Version | License | Downloads | Contains CSS | Contains i18n locales |
|---|---|---|---|---|---|---|
@univerjs/docs |
UniverDocs |
❌ | ❌ |
Introduction
@univerjs/docs package provides the fundamental operations for rich text models, including the following capabilities:
- Logic for selection areas
- Commands/mutations for altering rich text data
- Canvas rendering for document presentation
Additionally, @univerjs/docs offers support for editors in other domains, such as cell editors for spreadsheets and formula editors, among others.
Usage
Installation
# Using npm
npm install @univerjs/docs
# Using pnpm
pnpm add @univerjs/docs