BlockSuite API Documentation / @blocksuite/blocks / ReferenceNodeConfig
Class: ReferenceNodeConfig
Constructors
new ReferenceNodeConfig()
new ReferenceNodeConfig(
std
):ReferenceNodeConfig
Parameters
• std: BlockStdScope
Returns
Defined in
packages/affine/components/dist/rich-text/inline/presets/nodes/reference-node/reference-config.d.ts:15
Properties
std
readonly
std:BlockStdScope
Defined in
packages/affine/components/dist/rich-text/inline/presets/nodes/reference-node/reference-config.d.ts:5
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:10
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:11
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:12
doc
get
doc():Doc
Returns
Defined in
packages/affine/components/dist/rich-text/inline/presets/nodes/reference-node/reference-config.d.ts:13
interactable
get
interactable():boolean
Returns
boolean
Defined in
packages/affine/components/dist/rich-text/inline/presets/nodes/reference-node/reference-config.d.ts:14
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:16
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:17
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:18
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:19