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 = defaultShowPromptAn optional custom input handler. Defaults
to using window.prompt.
Generated using TypeDoc
Exposes the core behavior for linking and unlinking text, and allows for customization of the URL input handler.
Example