Skip to content

BlockSuite API Documentation / @blocksuite/blocks / InlineSpecs

Type Alias: InlineSpecs<TextAttributes>

InlineSpecs<TextAttributes>: object

Type Parameters

TextAttributes extends BaseTextAttributes = BaseTextAttributes

Type declaration

embed?

optional embed: boolean

match()

match: (delta) => boolean

Parameters

delta: DeltaInsert<TextAttributes>

Returns

boolean

name

name: keyof TextAttributes | string

renderer

renderer: AttributeRenderer<TextAttributes>

schema

schema: ZodTypeAny

Defined in

packages/affine/components/dist/rich-text/inline/inline-manager.d.ts:4