File upload doesn't work on Linux

Describe the bug

When I drag and drop a file into anytype, the last edited block appears in that place instead of the file. See the video below.

To Reproduce

Steps to reproduce the behavior:

    1. Drag and drop a file
    1. See if it works for you

Expected behavior

File link is supposed to appear in that place.

Desktop (please complete the following information):

  • OS: Ubuntu 20
  • Device: Lenovo Ideapad 3
  • Version: 0.18.54

Additional context
Note that the code block that appeared has nothing to do with the file and is a random (last edited) block from the page.

@danijelcamdzic Hi! Sorry for the very long answer! Do you have the same problem with your current version, because I can’t reproduce it in the latest version