API Reference

@univerjs/preset-docs-collaboration

TypeScript
import { UniverDocsCollaborationPreset } from '@univerjs/preset-docs-collaboration'createUniver({  presets: [    UniverDocsCollaborationPreset({      universerEndpoint: 'https://your-universer.example.com',      univerContainerId: 'app',    }),  ],})

The preset registers the collaboration model, browser client, client UI, and Docs history UI in that order. It therefore adds realtime editing, collaboration UI, and document version history as one composition.

Configuration

TypeScript
interface IUniverDocsCollaborationPresetConfig {  universerEndpoint?: string  univerContainerId?: string}

How is this guide?

© 2026 DreamNum Co., Ltd.