Skip to content

BlockSuite API Documentation / @blocksuite/blocks / KeyboardToolbarConfig

Type Alias: KeyboardToolbarConfig

KeyboardToolbarConfig: object

Type declaration

items

items: KeyboardToolbarItem[]

safeBottomPadding?

optional safeBottomPadding: string

Description

The safe bottom padding of the keyboard toolbar. It is useful when the device has a rounded corner screen.

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:77