Skip to content

BlockSuite API Documentation / @blocksuite/blocks / InlineSpecExtension

Function: InlineSpecExtension()

Call Signature

InlineSpecExtension(name, getSpec): ExtensionType & object

Parameters

name

string

getSpec

(provider) => InlineSpecs<AffineTextAttributes>

Returns

ExtensionType & object

Defined in

packages/affine/components/dist/rich-text/extension/inline-spec.d.ts:6

Call Signature

InlineSpecExtension(spec): ExtensionType & object

Parameters

spec

InlineSpecs<AffineTextAttributes>

Returns

ExtensionType & object

Defined in

packages/affine/components/dist/rich-text/extension/inline-spec.d.ts:9