feat(editor): smart link paste wraps selected text as markdown link (#217)
When text is selected in the MarkdownEditor and a URL (http/https) is
pasted, the selected text is preserved and wrapped as [text](url)
instead of being replaced. Normal paste behavior is unchanged when no
text is selected or when pasted content is not a URL.
Closes singi-labs/barazo-workspace#124
authored by