Link style selector does not appear if selection ends with \n

Bug report

If you paste with a \n at the end of the selection, the very useful url markdown link generator doesnt appear.

A situation I am often in when I [ V y ] to select line and yank.

Not particularly a bug but IMO if a url only has whitespace or newlines, still worth popping up the formatter.

Environment

  • Platform: MacOs
  • Platform version: 15.1 (24B83)
  • App Version: Version 5.9.2 (5.9.2)

How to reproduce

Copy a link with trailing newline or whitespace.

Hi @Andreas_Verheijen ,

Thanks for the report. That’s a good catch!
Agree, it’d be nice if it trims the copied text before processing a URL.

1 Like