BlockSuite API Documentation / @blocksuite/blocks / ReferenceNodeConfigProvider
Class: ReferenceNodeConfigProvider
Constructors
new ReferenceNodeConfigProvider()
new ReferenceNodeConfigProvider(
std
):ReferenceNodeConfigProvider
Parameters
std
Returns
Defined in
packages/affine/components/dist/rich-text/inline/presets/nodes/reference-node/reference-config.d.ts:26
Properties
std
readonly
std:BlockStdScope
Defined in
packages/affine/components/dist/rich-text/inline/presets/nodes/reference-node/reference-config.d.ts:14
Accessors
customContent
Get Signature
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:20
customIcon
Get Signature
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:21
customTitle
Get Signature
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:22
doc
Get Signature
get doc():
Doc
Returns
Defined in
packages/affine/components/dist/rich-text/inline/presets/nodes/reference-node/reference-config.d.ts:23
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:24
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:25
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:27
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:28
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:29
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:30
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:31