@univerjs/preset-docs-core
이 API 페이지의 본문은 현재 영어로 제공됩니다. 코드 시그니처와 식별자는 언어에 따라 바뀌지 않습니다.
TypeScript
import { UniverDocsCorePreset } from '@univerjs/preset-docs-core'const preset = UniverDocsCorePreset()IUniverDocsCorePresetConfig
| Option | Type | Behavior |
|---|---|---|
container, header, footer, toolbar, ribbonType, contextMenu, disableAutoFocus | UI options | Forwarded to UniverUIPlugin; see UI configuration. |
menu | MenuConfig | Menu 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. |
collaboration | true | Declared by the type but not consumed by this preset. Use top-level createUniver({ collaboration: true, ... }) with the collaboration integration. |
이 가이드는 어떠셨나요?