API 참조

@univerjs/preset-sheets-core

이 API 페이지의 본문은 현재 영어로 제공됩니다. 코드 시그니처와 식별자는 언어에 따라 바뀌지 않습니다.
TypeScript
import { UniverSheetsCorePreset } from '@univerjs/preset-sheets-core'const preset = UniverSheetsCorePreset()

IUniverSheetsCorePresetConfig

OptionTypeBehavior
containerstring or HTMLElementUI mount container.
header, toolbar, ribbonType, contextMenu, disableAutoFocus, customFontFamilyUI optionsForwarded to UniverUIPlugin; see UI configuration.
menuMenuConfigMenu item overrides, sibling order for Ribbon tabs/groups/items, and gridLayout for the grid Ribbon. See menu configuration and updateMenuConfig() for runtime updates.
formulaBar, footerSheets UI optionsForwarded to UniverSheetsUIPlugin; see Sheets UI configuration.
disableTextFormatAlert, disableTextFormatMarkbooleanControl the warning and marker for text-formatted numeric cells.
docsIUniverDocsPresetConfigThe preset forwards docs.hasScroll to the Docs model plugin.
sheetsIUniverSheetsPresetConfigRow/column style priority, merged-cell auto height, freeze synchronization, maximum auto-height count, clipboard and scrollbar options, protected-range display/user selection, and forced-string warnings. Set sheets.allowArrowKeyWrapOnSheetBoundary to false to stop arrow-key navigation at worksheet edges (default: true).
formulaIUniverFormulaConfigCustom functions, function descriptions, initial formula computation and function screen tips.
workerURLIUniverRPCMainThreadConfig['workerURL']Enables the browser RPC worker for formula computation. Optional when calling the preset function.

이 가이드는 어떠셨나요?

© 2026 DreamNum Co., Ltd.