Skip to content

BlockSuite API Documentation / @blocksuite/blocks / InlineSpecs

Type Alias: InlineSpecs<AffineTextAttributes>

InlineSpecs<AffineTextAttributes>: object

Type Parameters

AffineTextAttributes extends BaseTextAttributes = BaseTextAttributes

Type declaration

embed?

optional embed: boolean

match()

match: (delta) => boolean

Parameters

delta

DeltaInsert<AffineTextAttributes>

Returns

boolean

name

name: keyof AffineTextAttributes | string

renderer

renderer: AttributeRenderer<AffineTextAttributes>

schema

schema: ZodTypeAny

Defined in

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