Pasting before url dialog inserts text into block

Describe the bug

When I try to create a link from existing text, it inserts the text in the block if I paste before the link dialog fully opens.

To Reproduce

Steps to reproduce the behavior:

    1. Open page
    1. Select text in a block
    1. CMD+K and very quickly CMD+V (before the url dialog has a chance to fully load)

Expected behavior

As soon as CMD+K is input, it should be ready to paste/enter text in the url dialog. (Not have to wait for url dialog to load before being able to enter text there)

Desktop (please complete the following information):

  • OS: macOS 11.0.1
  • Device: MacBook Pro
  • Version: 0.16.7

Additional context
INVALIDUPLOAD ef03bb03-1a33-4322-b4e9-3c1cb8b17c6c is missing from database—screen-recording-2020-11-22-at-192025.qt
INVALIDUPLOAD c270e5e5-72dc-47c5-92f0-32a4caf9b1c3 is missing from database—screen-recording-2020-11-22-at-192525.qt

1 Like

Just tried typing text instead of pasting it, same issue.

Yeah, the issue persists on Windows 10, Anytype 0.16.7 too. If you input anything before the dialog loads up, Anytype treats it as a standalone input, meaning if you had pasted a link, Anytype will post a link below; if it was CTRL(CMD)+D, the block will be duplicated and so on.

@hayk Thank you for the notice! It has been added to the bug tracker and will be fixed in the nearest release.

1 Like