API 참조

@univerjs-pro/boards-ui

이 API 페이지의 본문은 현재 영어로 제공됩니다. 코드 시그니처와 식별자는 언어에 따라 바뀌지 않습니다.

Canvas, viewport, selection, shape editing, connectors, sticky notes, ink interaction, toolbar, and context menu UI for Univer Boards.

TypeScript
import { UniverBoardsUIPlugin } from '@univerjs-pro/boards-ui'import '@univerjs-pro/boards-ui/lib/index.css'univer.registerPlugin(UniverBoardsUIPlugin)

Boards context menus use MenuConfig from UniverUIPlugin. Configure items such as board.menu.duplicate-selection with order, hidden, or other item overrides. Import @univerjs/ui/facade to update them through FUniver.updateMenuConfig(). Pass menu to the shared UI plugin, not UniverBoardsUIPlugin.

The Board canvas toolbar is independent of the standard Ribbon. Its tools are controlled by UniverBoardsUIPlugin.toolbar.tools, a partial map keyed by BoardToolType from @univerjs-pro/boards. Each value is a boolean or { enabled?: boolean }:

TypeScript
univer.registerPlugin(UniverBoardsUIPlugin, {  toolbar: { tools: { pen: false } },})

This controls tool availability, not order or grid placement. Ribbon gridLayout does not rearrange the canvas toolbar or context menus. See the Boards menu guide for configuration and runtime examples.

Entry Points

  • Facade: @univerjs-pro/boards-ui/facade
  • Locale: @univerjs-pro/boards-ui/locale/*
  • Style: @univerjs-pro/boards-ui/lib/index.css

Facade API

The Facade entry extends FBoard with settings, object-list controls, text search, viewport focus, rendered-layout analysis, and PNG screenshot capture. See the Boards Facade reference.

이 가이드는 어떠셨나요?

© 2026 DreamNum Co., Ltd.