Skip to content

BlockSuite API Documentation / @blocksuite/affine-model / 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/src/elements/text/text.ts:23