API Reference

@univerjs/preset-sheets-collaboration

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

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

Configuration

TypeScript
interface IUniverSheetsCollaborationPresetConfig {  universerEndpoint?: string  univerContainerId?: string  enableFrontendLog?: boolean  enableOfflineEditing?: boolean  enableSingleActiveInstanceLock?: boolean  historyWorkerURL?: string | URL | Worker}

How is this guide?

© 2026 DreamNum Co., Ltd.