Skip to content

BlockSuite API Documentation / @blocksuite/blocks / toggleLinkPopup

Function: toggleLinkPopup()

toggleLinkPopup(inlineEditor, type, targetInlineRange, abortController): LinkPopup

Parameters

inlineEditor: AffineInlineEditor

type: "view" | "create" | "edit"

targetInlineRange: InlineRange

abortController: AbortController

Returns

LinkPopup

Defined in

packages/affine/components/dist/rich-text/inline/presets/nodes/link-node/link-popup/toggle-link-popup.d.ts:4