Skip to content

BlockSuite API Documentation / @blocksuite/blocks / ReferenceNodeConfigProvider

Class: ReferenceNodeConfigProvider

Constructors

new ReferenceNodeConfigProvider()

new ReferenceNodeConfigProvider(std): ReferenceNodeConfigProvider

Parameters

std: BlockStdScope

Returns

ReferenceNodeConfigProvider

Defined in

packages/affine/components/dist/rich-text/inline/presets/nodes/reference-node/reference-config.d.ts:23

Properties

std

readonly std: BlockStdScope

Defined in

packages/affine/components/dist/rich-text/inline/presets/nodes/reference-node/reference-config.d.ts:13

Accessors

customContent

get customContent(): null | (reference) => TemplateResult

Returns

null | (reference) => TemplateResult

Defined in

packages/affine/components/dist/rich-text/inline/presets/nodes/reference-node/reference-config.d.ts:18


customIcon

get customIcon(): null | (reference) => TemplateResult

Returns

null | (reference) => TemplateResult

Defined in

packages/affine/components/dist/rich-text/inline/presets/nodes/reference-node/reference-config.d.ts:19


customTitle

get customTitle(): null | (reference) => string

Returns

null | (reference) => string

Defined in

packages/affine/components/dist/rich-text/inline/presets/nodes/reference-node/reference-config.d.ts:20


doc

get doc(): Doc

Returns

Doc

Defined in

packages/affine/components/dist/rich-text/inline/presets/nodes/reference-node/reference-config.d.ts:21


interactable

get interactable(): boolean

Returns

boolean

Defined in

packages/affine/components/dist/rich-text/inline/presets/nodes/reference-node/reference-config.d.ts:22

Methods

setCustomContent()

setCustomContent(content): void

Parameters

content: any

Returns

void

Defined in

packages/affine/components/dist/rich-text/inline/presets/nodes/reference-node/reference-config.d.ts:24


setCustomIcon()

setCustomIcon(icon): void

Parameters

icon: any

Returns

void

Defined in

packages/affine/components/dist/rich-text/inline/presets/nodes/reference-node/reference-config.d.ts:25


setCustomTitle()

setCustomTitle(title): void

Parameters

title: any

Returns

void

Defined in

packages/affine/components/dist/rich-text/inline/presets/nodes/reference-node/reference-config.d.ts:26


setInteractable()

setInteractable(interactable): void

Parameters

interactable: boolean

Returns

void

Defined in

packages/affine/components/dist/rich-text/inline/presets/nodes/reference-node/reference-config.d.ts:27