Skip to content

BlockSuite API Documentation / @blocksuite/blocks / KeyboardToolbarConfig

Type Alias: KeyboardToolbarConfig

KeyboardToolbarConfig: object

Type declaration

items

items: KeyboardToolbarItem[]

useScreenHeight?

optional useScreenHeight: boolean

Description

Whether to use the screen height as the keyboard height when the virtual keyboard API is not supported. It is useful when the app is running in a webview and the keyboard is not overlaid on the content.

Default

ts
false

Defined in

packages/blocks/src/root-block/widgets/keyboard-toolbar/config.ts:76