# Testing 1.0.209 Drag and drop

**URL:** <https://discourse.joplinapp.org/t/testing-1-0-209-drag-and-drop/8779>\
**Category:** Beta Testing\
**Created:** [20 May 2020 06:37 UTC](https://discourse.joplinapp.org/t/testing-1-0-209-drag-and-drop/8779 "2020-05-20T06:37:24Z")\
**Posts on this page:** 16\
**Page:** 1

<div class="post-metadata">

**Author:** ![Marvin](https://avatars.discourse-cdn.com/v4/letter/m/2bfe46/32.png) [@Marvin](https://discourse.joplinapp.org/u/Marvin)\
**Post date:** [20 May 2020 06:37 UTC](https://discourse.joplinapp.org/t/testing-1-0-209-drag-and-drop/8779/1 "2020-05-20T06:37:24Z")

</div>

Hello,

I’m testing version 1.0.209 with Win 10 Pro.

I oftern use drag and drop e.g. Outlook 2016. In the new version of Joplin I have an issue in the mark down editor.

![image](https://canada1.discourse-cdn.com/flex028/uploads/cozic/original/2X/c/c6b75a53acc750fb6cdd90abb51ac5c380106404.png)

Dragging an e-mail (holding CTRL key form copy)

 ![image](https://canada1.discourse-cdn.com/flex028/uploads/cozic/original/2X/f/f0fd9780d75d9e36fdb16ec4488567fa518a45f6.png)

I have following result

 ![image](https://canada1.discourse-cdn.com/flex028/uploads/cozic/original/2X/9/9ceaf96f84b152e93fbee32413f4c1b82b3cb037.png)

Marvin

---

<div class="post-metadata">

**Author:** ![Marvin](https://avatars.discourse-cdn.com/v4/letter/m/2bfe46/32.png) [@Marvin](https://discourse.joplinapp.org/u/Marvin)\
**Post date:** [25 May 2020 05:32 UTC](https://discourse.joplinapp.org/t/testing-1-0-209-drag-and-drop/8779/2 "2020-05-25T05:32:28Z")

</div>

Hello,

in new new version 1.0.216 the drag and drop still have the same issue.

Marvin

---

<div class="post-metadata">

**Author:** ![dpoulton](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/dpoulton/32/30800_2.png) [@dpoulton](https://discourse.joplinapp.org/u/dpoulton)\
**Post date:** [25 May 2020 11:26 UTC](https://discourse.joplinapp.org/t/testing-1-0-209-drag-and-drop/8779/3 "2020-05-25T11:26:07Z")

</div>

Hi @Marvin

Could you please clarify what issue you are reporting here? It is not clear whether it is that:

- The attachment does not appear at the cursor position but at the top of the note
- That the first `- Test` does not appear as a bullet (it’s tab indented so is treated as `<pre>`)
- That the text at the “second” bullet point appears
- Something else

I am not a developer myself but I understand that it is far easier for them to assess something like this if they have a really clear picture of any issue being reported.

---

<div class="post-metadata">

**Author:** ![Marvin](https://avatars.discourse-cdn.com/v4/letter/m/2bfe46/32.png) [@Marvin](https://discourse.joplinapp.org/u/Marvin)\
**Post date:** [25 May 2020 11:39 UTC](https://discourse.joplinapp.org/t/testing-1-0-209-drag-and-drop/8779/4 "2020-05-25T11:39:39Z")

</div>

Hi @dpoulton,

I have following issues:

When I use drag and drop the attachment will always be inserted on the top of the note and not on the position I wanted to put it in.  
When dragging mails (in my case from Outlook) to Joplin, the message will be inserted at the top of the note and the “description” of the mail on the wanted position.

Before dragging an e-mail to Joplin:

 ![image](https://canada1.discourse-cdn.com/flex028/uploads/cozic/original/2X/2/24ffadceb38473c9eb07e63c7aa18b030421f0e2.png)  
After dragging an e-mail to Jopllin, the mail should be inserted at the cursor position:  
 ![image](https://canada1.discourse-cdn.com/flex028/uploads/cozic/original/2X/a/a393a78c1199f7b98ba7bdfcabcbc883fbd7cefb.png)

I hope this wil clarify it a bit.

Marvin

---

<div class="post-metadata">

**Author:** ![dpoulton](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/dpoulton/32/30800_2.png) [@dpoulton](https://discourse.joplinapp.org/u/dpoulton)\
**Post date:** [25 May 2020 12:20 UTC](https://discourse.joplinapp.org/t/testing-1-0-209-drag-and-drop/8779/5 "2020-05-25T12:20:30Z")

</div>

As I said I am not a developer myself but in order to assist those who are I have tried this on my system.

I do not use Outlook, I use Thunderbird. When I drag an email into a note the resouce link also appears at the top of the note regardless of the cursor position. However in my case no metadata appears at the cursor position (with or without `CTRL`).

Additionally, **ANY** file I drag and drop into a note appears at the top of the note and not at the cursor position. As this is a feature I rarely use I cannot recall if drag and drop has previously resulted with the resource link being placed at the cursor position or not.

There was a GitHub issue ([#3200](https://github.com/laurent22/joplin/issues/3200)) regarding attaching files. It’s closed now but still being updated regarding the problem you have encountered with the “drop position” within the note, so I assume that the dropped file used to appear at the cursor location…

> <https://github.com/laurent22/joplin/issues/3200#issuecomment-633241193>
>
> As of Joplin 1.0.207 when trying to paste an image with ctrl+v, dragging and dropping an image into Joplin, or even...

---

<div class="post-metadata">

**Author:** ![Marvin](https://avatars.discourse-cdn.com/v4/letter/m/2bfe46/32.png) [@Marvin](https://discourse.joplinapp.org/u/Marvin)\
**Post date:** [16 June 2020 08:16 UTC](https://discourse.joplinapp.org/t/testing-1-0-209-drag-and-drop/8779/6 "2020-06-16T08:16:30Z")

</div>

Unfortunately this behavior is still broken in version 1.0.218

---

<div class="post-metadata">

**Author:** ![Marvin](https://avatars.discourse-cdn.com/v4/letter/m/2bfe46/32.png) [@Marvin](https://discourse.joplinapp.org/u/Marvin)\
**Post date:** [25 June 2020 07:06 UTC](https://discourse.joplinapp.org/t/testing-1-0-209-drag-and-drop/8779/7 "2020-06-25T07:06:42Z")

</div>

Unfortunately this behavior is still broken in version 1.0.224.  
When I use drag’n’drop to insert an item it will always be inserted on the top of the note and not at the actual cursor position.

---

<div class="post-metadata">

**Author:** ![laurent](https://avatars.discourse-cdn.com/v4/letter/l/ce7236/32.png) [@laurent](https://discourse.joplinapp.org/u/laurent)\
**Post date:** [25 June 2020 08:56 UTC](https://discourse.joplinapp.org/t/testing-1-0-209-drag-and-drop/8779/8 "2020-06-25T08:56:23Z")

</div>

Did you try with the Code Mirror editor (in Config =\> Notes options)?

---

<div class="post-metadata">

**Author:** ![Marvin](https://avatars.discourse-cdn.com/v4/letter/m/2bfe46/32.png) [@Marvin](https://discourse.joplinapp.org/u/Marvin)\
**Post date:** [25 June 2020 10:03 UTC](https://discourse.joplinapp.org/t/testing-1-0-209-drag-and-drop/8779/9 "2020-06-25T10:03:34Z")

</div>

No, I didn’t use Code Mirror.

I’ve made a rough test now with the Code Mirror and also with the WYSIWYG editor, the behavior is different to the “standard” editor, the file is placed by drag’n’drop to the wanted position (in my tests alwasy creating a new line!?!)

---

<div class="post-metadata">

**Author:** ![Marvin](https://avatars.discourse-cdn.com/v4/letter/m/2bfe46/32.png) [@Marvin](https://discourse.joplinapp.org/u/Marvin)\
**Post date:** [13 July 2020 09:48 UTC](https://discourse.joplinapp.org/t/testing-1-0-209-drag-and-drop/8779/10 "2020-07-13T09:48:38Z")

</div>

Unfortunately this behavior is still broken in version 1.0.227.  
When I use drag’n’drop to insert an item it will always be inserted on the top of the note and not at the actual cursor position.

---

<div class="post-metadata">

**Author:** ![gtt21](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/gtt21/32/4572_2.png) [@gtt21](https://discourse.joplinapp.org/u/gtt21)\
**Post date:** [19 July 2020 11:23 UTC](https://discourse.joplinapp.org/t/testing-1-0-209-drag-and-drop/8779/11 "2020-07-19T11:23:46Z")

</div>

I’m having the same problem. Whenever I drag and drop an image into Joplin, it always appears at the top of the current note, not at the cursor position.

I use a lot of images / screenshots in my notes, so this slows things down quite a bit.

---

<div class="post-metadata">

**Author:** ![Marvin](https://avatars.discourse-cdn.com/v4/letter/m/2bfe46/32.png) [@Marvin](https://discourse.joplinapp.org/u/Marvin)\
**Post date:** [12 August 2020 13:25 UTC](https://discourse.joplinapp.org/t/testing-1-0-209-drag-and-drop/8779/12 "2020-08-12T13:25:13Z")

</div>

Same behaviour in version 1.0.233

---

<div class="post-metadata">

**Author:** ![Marvin](https://avatars.discourse-cdn.com/v4/letter/m/2bfe46/32.png) [@Marvin](https://discourse.joplinapp.org/u/Marvin)\
**Post date:** [7 September 2020 06:55 UTC](https://discourse.joplinapp.org/t/testing-1-0-209-drag-and-drop/8779/13 "2020-09-07T06:55:16Z")

</div>

Unfortunately this behavior is still broken in version 1.0.242.  
I’m still using the “standard” markdown editor.  
When I use drag’n’drop to insert an item it will always be inserted on the top of the note and not at the actual cursor position

---

<div class="post-metadata">

**Author:** ![CalebJohn](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/calebjohn/32/356_2.png) [@CalebJohn](https://discourse.joplinapp.org/u/CalebJohn)\
**Post date:** [7 September 2020 17:02 UTC](https://discourse.joplinapp.org/t/testing-1-0-209-drag-and-drop/8779/14 "2020-09-07T17:02:25Z")

</div>

The next update will have a fix for this, we’ve replaced the standard markdown editor component with one that has fewer bugs. You can switch now under Options -\> Note -\> codemirror beta

---

<div class="post-metadata">

**Author:** ![Marvin](https://avatars.discourse-cdn.com/v4/letter/m/2bfe46/32.png) [@Marvin](https://discourse.joplinapp.org/u/Marvin)\
**Post date:** [15 September 2020 08:43 UTC](https://discourse.joplinapp.org/t/testing-1-0-209-drag-and-drop/8779/15 "2020-09-15T08:43:51Z")

</div>

@CalebJohn Thanks! I did a quick look to version 1.1.1. When using drag’n’drop the items are not placed at the top anymore.  
Now the items are inserted at the wanted position. Only one point to mention, the items are inserted with 2 blank lines  
Before inserting

![image](https://canada1.discourse-cdn.com/flex028/uploads/cozic/original/2X/8/8050b47f1884668a43bf30bea8f41e3c5031abfd.png)

After inserting

![image](https://canada1.discourse-cdn.com/flex028/uploads/cozic/original/2X/6/683c36970622f8c269bd150c572a2144c7464e39.png)

---

<div class="post-metadata">

**Author:** ![Marvin](https://avatars.discourse-cdn.com/v4/letter/m/2bfe46/32.png) [@Marvin](https://discourse.joplinapp.org/u/Marvin)\
**Post date:** [2 November 2020 17:08 UTC](https://discourse.joplinapp.org/t/testing-1-0-209-drag-and-drop/8779/16 "2020-11-02T17:08:51Z")

</div>

@CalebJohn  
Please take a look to the following Diskussion.

> [@Drag and Drop behaviour](https://discourse.joplinapp.org/t/drag-and-drop-behaviour/10546/19):
>
> I made a rough test with WYSIWYG editor. If a mail is added to Joplin via drag'n'drop in the WYSIWYG editor, the mail is not deleted in Outlook, independently if i use th CTRL key or not. Could the issue, that the mails are deleted in Outlook, base on the "new" MD editor CodeMirror?
