Selected text is deleted on new link insertion

Description of the bug
When adding a link via the universal coupler while having text selected, that text is lost as it is overridden on selecting a card by a non-aliased link. I would rather expect the selected text to appear as the new link’s alias text, as it had been in earlier versions.

Device, App & Version
Android 12, Supernotes 3.1.5

Steps to reproduce
In edit mode, select some text, open the coupler, go to Link and select an arbitrary card.

Ah interesting, thanks for the report, will fix.

You can actually now just use the inline link coupler for this purpose, by selecting text typing [[ and then searching for the link you want to add. It seems like by adding support for this, we broke the UC Link coupler.

1 Like