BlockSuite API Documentation / @blocksuite/blocks / TextFormatConfig
Interface: TextFormatConfig
Properties
action()
action: (
host
) =>void
Parameters
host
Returns
void
Defined in
packages/affine/components/dist/rich-text/format/config.d.ts:9
activeWhen()
activeWhen: (
host
) =>boolean
Parameters
host
Returns
boolean
Defined in
packages/affine/components/dist/rich-text/format/config.d.ts:8
hotkey?
optional
hotkey:string
Defined in
packages/affine/components/dist/rich-text/format/config.d.ts:7
icon
icon:
TemplateResult
<1
>
Defined in
packages/affine/components/dist/rich-text/format/config.d.ts:6
id
id:
string
Defined in
packages/affine/components/dist/rich-text/format/config.d.ts:4
name
name:
string
Defined in
packages/affine/components/dist/rich-text/format/config.d.ts:5