Custom Components
@univerjs-pro/boards-ui exports the components and extension services used by the Board canvas. They require an initialized Univer injector and Board unit; they are not standalone design-system widgets.
Public canvas components
TypeScript
import { BoardShapeTextEditorContainer, BoardWorkbench,} from '@univerjs-pro/boards-ui'The plugin registers its shape and connector floating toolbars internally. Applications should use the supported services instead of replacing private component keys.
Supported extension points
IBoardToolbarContributionServiceadds create or auxiliary actions to Board toolbars.IBoardSettingsMenuContributionServiceadds action, import, or output entries to the settings menu.IBoardSidePanelServiceopens a Board side panel and returns a disposable handle.additionalRenderAdaptersadds renderers without replacing the built-inBOARD_ELEMENT_RENDER_ADAPTERSlist.registerBoardDocumentTextExtensionextends rendering for Board document text.
Dispose every registration when the host plugin is removed.
How is this guide?