BlockSuite API Documentation / @blocksuite/blocks / ReferenceNodeConfigProvider
Class: ReferenceNodeConfigProvider
Constructors
new ReferenceNodeConfigProvider()
new ReferenceNodeConfigProvider(
std
):ReferenceNodeConfigProvider
Parameters
• std: BlockStdScope
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
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
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
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
doc():Doc
Returns
Defined in
packages/affine/components/dist/rich-text/inline/presets/nodes/reference-node/reference-config.d.ts:23
hidePopup
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
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