BlockSuite API Documentation / @blocksuite/affine-rich-text / toggleTextStyleCommand
Variable: toggleTextStyleCommand
const
toggleTextStyleCommand:Command
<{key
:Extract
<keyofAffineTextAttributes
,"bold"
|"italic"
|"underline"
|"strike"
|"code"
>; }>
Defined in: packages/affine/rich-text/src/format/text-style.ts:15