Description
A followup of https://github.com/ckeditor/ckeditor5-link/issues/2#issuecomment-240374891.
Automated and "on keystroke" linking pasted and typed URLs. E.g. if you paste a URL, then it can be safely autolinked. But if you paste a lot of content or you typed that URL in some specific way and it wasn't autolinked, just press CTRL+K having selection in the URL text and that URL should be converted into a link.
The whole idea comes down to two cases:
Basic auto linking
As in https://github.com/ckeditor/ckeditor5-link/issues/6. If pasted content matches link pattern, it should be converted into <a href="http://foo">http://foo</a>
. If not, or there's something else beside white spaces in the clipboard, it should be pasted as plain text.
Keystroke auto linking
If there's more in the clipboard (or simply in the content) than just a link, user can move selection to the link text, and use keyboard shortcut to automatically convert it into an <a>
tag.