Skip to content

BlockSuite API Documentation / @blocksuite/blocks / AffineTextAttributes

Interface: AffineTextAttributes

Properties

background?

optional background: null | string

Defined in

packages/affine/components/dist/rich-text/extension/type.d.ts:15


bold?

optional bold: null | true

Defined in

packages/affine/components/dist/rich-text/extension/type.d.ts:6


code?

optional code: null | true

Defined in

packages/affine/components/dist/rich-text/extension/type.d.ts:10


color?

optional color: null | string

Defined in

packages/affine/components/dist/rich-text/extension/type.d.ts:16


italic?

optional italic: null | true

Defined in

packages/affine/components/dist/rich-text/extension/type.d.ts:7


latex?

optional latex: null | string

Defined in

packages/affine/components/dist/rich-text/extension/type.d.ts:17


optional link: null | string

Defined in

packages/affine/components/dist/rich-text/extension/type.d.ts:11


reference?

optional reference: null | object & object

Defined in

packages/affine/components/dist/rich-text/extension/type.d.ts:12


strike?

optional strike: null | true

Defined in

packages/affine/components/dist/rich-text/extension/type.d.ts:9


underline?

optional underline: null | true

Defined in

packages/affine/components/dist/rich-text/extension/type.d.ts:8