BlockSuite API Documentation / @blocksuite/blocks / toggleLinkPopup
Function: toggleLinkPopup()
toggleLinkPopup(
inlineEditor
,type
,targetInlineRange
,abortController
,openLink
?):LinkPopup
Parameters
inlineEditor
type
"view"
| "edit"
| "create"
targetInlineRange
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