API Reference

@univerjs/preset-docs-core

TypeScript
import { UniverDocsCorePreset } from '@univerjs/preset-docs-core'const preset = UniverDocsCorePreset()

IUniverDocsCorePresetConfig

OptionTypeBehavior
container, header, footer, toolbar, ribbonType, contextMenu, disableAutoFocusUI optionsForwarded to UniverUIPlugin; see UI configuration.
menuMenuConfigMenu item overrides, sibling order for Ribbon tabs/groups/items, and gridLayout for the grid Ribbon. Use Docs menu IDs, such as doc.command.set-inline-format-bold. See menu configuration and updateMenuConfig() for runtime updates.
collaborationtrueDeclared by the type but not consumed by this preset. Use top-level createUniver({ collaboration: true, ... }) with the collaboration integration.

How is this guide?

© 2026 DreamNum Co., Ltd.