Skip to content

Function: useLinkPopover() ​

ts
function useLinkPopover(editor, options?): UseLinkPopoverResult;

Link add/edit form behaviour: validation, Escape, focus handling and the Mod-k shortcut (pass shortcut: false to turn it off). Options are read once.

Parameters ​

ParameterType
editorEditor
options?LinkPopoverOptions

Returns ​

UseLinkPopoverResult