@bridge/toolbar

Module that allows extensions to create toolbar tabs.

Variables

ToolbarCategory

Const ToolbarCategory: any

Used to create new toolbar categories.

link https://github.com/bridge-core/editor/blob/main/src/components/Toolbar/ToolbarCategory.ts


actionManager

Const actionManager: any

Allows creating/disposing new app actions.

link https://github.com/bridge-core/editor/blob/main/src/components/Actions/ActionManager.ts

Functions

addCategory

addCategory(category): void

Add a new category to the app toolbar.

Parameters

Name Type
category any

Returns

void