Skip to content

BlockSuite API Documentation / @blocksuite/blocks / TextElementProps

Type Alias: TextElementProps

TextElementProps: BaseElementProps & object & Omit<TextStyleProps, "fontWeight" | "fontStyle"> & Partial<Pick<TextStyleProps, "fontWeight" | "fontStyle">>

Type declaration

hasMaxWidth?

optional hasMaxWidth: boolean

text

text: Y.Text

Defined in

packages/affine/model/dist/elements/text/text.d.ts:7