• Exposes the core behavior for editing an existing link, and allows for customization of the URL input handler.

    Parameters

    • target: HTMLAnchorElement
    • editor: Editor

      An editor instance to operate on. If a range is selected, either prompt for a URL and add a link or un-link the currently linked text.

    • Optional showPrompt: ShowPromptCallback = defaultShowPrompt

      An optional custom input handler. Defaults to using window.prompt.

    Returns void

Generated using TypeDoc