BlockSuite API Documentation / @blocksuite/blocks / toggleLinkPopup
Function: toggleLinkPopup()
toggleLinkPopup(
inlineEditor
,type
,targetInlineRange
,abortController
,openLink
?):LinkPopup
Parameters
• inlineEditor: AffineInlineEditor
• type: "view"
| "edit"
| "create"
• targetInlineRange: InlineRange
• abortController: AbortController
• openLink?: null
| (e
?) => void
Returns
LinkPopup
Defined in
packages/affine/components/dist/rich-text/inline/presets/nodes/link-node/link-popup/toggle-link-popup.d.ts:4