Auto link title: does not properly check whether only exactly one link is inserted

Bug report

There is a problem if text is inserted that starts with a link but contains additional text after the link.
Then the title of the link cannot be determined correctly. I would expect that as soon as more than a single link is inserted, no dialog for selecting the link format appears.
Apparently, this already works if the link appears in the middle of the text instead of at the beginning of the text.

Environment

  • Platform: Windows
  • Platform version: 11
  • App Version: v5.8.0-beta.1

How to reproduce

When pasting the following text the link format dialog will show up:

https://forum.inkdrop.app/

This is a text.

Hi Lukas,

Thanks! I’ll fix it

1 Like

Fixed in beta.2 :raised_hands: