BlockSuite API Documentation / @blocksuite/affine-rich-text / formatTextCommand
Variable: formatTextCommand
const
formatTextCommand:Command
<{currentTextSelection
:TextSelection
;mode
:"replace"
|"merge"
;styles
:AffineTextAttributes
;textSelection
:TextSelection
; }>
Defined in: packages/affine/rich-text/src/format/format-text.ts:10