Skip to content

BlockSuite API Documentation / @blocksuite/affine-rich-text / toggleTextStyleCommand

Variable: toggleTextStyleCommand

const toggleTextStyleCommand: Command<{ key: Extract<keyof AffineTextAttributes, "bold" | "italic" | "underline" | "strike" | "code">; }>

Defined in: packages/affine/rich-text/src/format/text-style.ts:15