Documentation

Link

Add a URL to a selection or insert a link at the caret.

Behavior to account for

The supported URL prefixes are http://, https://, and mailto:. At a caret, adding a link inserts its URL as the visible text. removeLink can remove a whole link at the caret.

Features