Skip to content
This page is available as Markdown at /api/toolbar/functions/useblockobjectbutton.md. For the full documentation index, see /llms.txt, or the complete corpus at /llms-full.txt.

useBlockObjectButton

useBlockObjectButton(props): BlockObjectButton

Defined in: toolbar/src/use-block-object-button.ts:172

Manages the state, keyboard shortcut and available events for a block object button.

Note: This hook assumes that the button triggers a dialog for inputting the block object value.

ToolbarBlockObjectSchemaType

BlockObjectButton