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: string

renderer

renderer: AttributeRenderer<TextAttributes>

schema

schema: ZodTypeAny

Source

packages/blocks/src/_common/inline/inline-manager.ts:15