BlockSuite API Documentation / @blocksuite/affine-rich-text / InlineSpecs
Type Alias: InlineSpecs<AffineTextAttributes>
InlineSpecs<
AffineTextAttributes
> =object
Defined in: packages/affine/rich-text/src/extension/type.ts:11
Type Parameters
AffineTextAttributes
AffineTextAttributes
extends BaseTextAttributes
= BaseTextAttributes
Properties
embed?
optional
embed:boolean
Defined in: packages/affine/rich-text/src/extension/type.ts:18
match()
match: (
delta
) =>boolean
Defined in: packages/affine/rich-text/src/extension/type.ts:16
Parameters
delta
DeltaInsert
<AffineTextAttributes
>
Returns
boolean
name
name: keyof
AffineTextAttributes
|string
Defined in: packages/affine/rich-text/src/extension/type.ts:14
renderer
renderer:
AttributeRenderer
<AffineTextAttributes
>
Defined in: packages/affine/rich-text/src/extension/type.ts:17
schema
schema:
ZodTypeAny
Defined in: packages/affine/rich-text/src/extension/type.ts:15