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

Properties

std

readonly std: BlockStdScope

Defined in

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

Accessors

customContent

Get Signature

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

Returns

undefined | (reference) => TemplateResult

Defined in

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


doc

Get Signature

get doc(): Doc

Returns

Doc

Defined in

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


hidePopup

Get Signature

get hidePopup(): boolean

Returns

boolean

Defined in

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


interactable

Get Signature

get interactable(): boolean

Returns

boolean

Defined in

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

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


setHidePopup()

setHidePopup(hidePopup): void

Parameters

hidePopup

boolean

Returns

void

Defined in

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


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