# Drag and Drop behaviour

**URL:** <https://discourse.joplinapp.org/t/drag-and-drop-behaviour/10546>\
**Category:** Support\
**Created:** [17 August 2020 11:56 UTC](https://discourse.joplinapp.org/t/drag-and-drop-behaviour/10546 "2020-08-17T11:56:33Z")\
**Posts on this page:** 20\
**Page:** 2

<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 21:04 UTC](https://discourse.joplinapp.org/t/drag-and-drop-behaviour/10546/21 "2020-11-02T21:04:18Z")

</div>

@CalebJohn Thanks for taking a look to it.  
What is the difference between the AceEditor, WYSIWYG (Drag and Drop OK) and CodeMirror?

---

<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:** [2 November 2020 21:40 UTC](https://discourse.joplinapp.org/t/drag-and-drop-behaviour/10546/22 "2020-11-02T21:40:55Z")

</div>

Ace editor and codemirror are both code editors (markdown included). We used to use ace editor as the markdown editor for Joplin but have recently switched to codemirror. The WYSIWYG editor is not a code editor, the formatting is hidden and it allows you to type your notes as you would want them presented (similar to MS Word).

Edit:  
I re-read your question and realized I answered wrong.  
Too be honest I don't know and I can't test because I don't have access to a Windows machine + outlook. My guess is that ace editor (and the WYSIWYG) editor are forcing a copy action on drop and codemirror simply leaves the drop action as none. Most programs interpret "none" as copy, but it seems that outlook treats it as a move.  
Again, I can't confirm this because I don't have outlook, but it's a theory.

---

<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 21:50 UTC](https://discourse.joplinapp.org/t/drag-and-drop-behaviour/10546/23 "2020-11-02T21:50:30Z")

</div>

@CalebJohn I‘m not a coder but I can test for you if this helps you.

---

<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:** [3 November 2020 03:22 UTC](https://discourse.joplinapp.org/t/drag-and-drop-behaviour/10546/24 "2020-11-03T03:22:02Z")

</div>

The [build](https://github.com/laurent22/joplin/blob/dev/BUILD.md) instructions are here if you think you'll be able to manage it. Otherwise I might be able to figure out how to do windows builds.

---

<div class="post-metadata">

**Author:** ![sttrebo](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/sttrebo/32/931_2.png) [@sttrebo](https://discourse.joplinapp.org/u/sttrebo)\
**Post date:** [3 November 2020 05:47 UTC](https://discourse.joplinapp.org/t/drag-and-drop-behaviour/10546/25 "2020-11-03T05:47:51Z")

</div>

A bit out of my skill set unless someone has a cheatsheet for a windows10 system...

---

<div class="post-metadata">

**Author:** ![JPa](https://avatars.discourse-cdn.com/v4/letter/j/e56c9b/32.png) [@JPa](https://discourse.joplinapp.org/u/JPa)\
**Post date:** [3 November 2020 08:36 UTC](https://discourse.joplinapp.org/t/drag-and-drop-behaviour/10546/26 "2020-11-03T08:36:48Z")

</div>

Thank you so much for looking into it. I have never built any system...Not sure when I can start diving into this...

---

<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:** [4 November 2020 18:41 UTC](https://discourse.joplinapp.org/t/drag-and-drop-behaviour/10546/27 "2020-11-04T18:41:12Z")

</div>

I have to wait until the patch is merged to a "compiled" version. Build Joplin myself is unfortunately above my skills.

---

<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 November 2020 07:20 UTC](https://discourse.joplinapp.org/t/drag-and-drop-behaviour/10546/28 "2020-11-12T07:20:22Z")

</div>

@CalebJohn any news of the integration of the patch?  
At the moment, I switch to the WYSIWYG editor for drag'n'drop from outlook as a work around.

Marvin

---

<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:** [12 November 2020 20:18 UTC](https://discourse.joplinapp.org/t/drag-and-drop-behaviour/10546/29 "2020-11-12T20:18:34Z")

</div>

It's [been merged](https://github.com/laurent22/joplin/pull/4031)! Which doesn't mean much yet, but it does mean that the potential fix will be available in an upcoming [pre-release](https://github.com/laurent22/joplin/releases). I'll try to ping this thread once it's available, but I would encourage you to check yourself as well in case I forget.

---

<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 November 2020 07:31 UTC](https://discourse.joplinapp.org/t/drag-and-drop-behaviour/10546/30 "2020-11-13T07:31:20Z")

</div>

@CalebJohn Thanks. I will give it a try with the next pre-release.

---

<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 November 2020 07:03 UTC](https://discourse.joplinapp.org/t/drag-and-drop-behaviour/10546/31 "2020-11-16T07:03:51Z")

</div>

@CalebJohn I made a quick test with Version 1.4.10 portable. Unfortunately the behaviour didn't change in the Codemirror editor using drag'n'drop.  
In the WYSIWYG editor the items are "copied" from Outlook to Joplin.

---

<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:** [16 November 2020 07:34 UTC](https://discourse.joplinapp.org/t/drag-and-drop-behaviour/10546/32 "2020-11-16T07:34:25Z")

</div>

@Marvin thanks for letting me know, I'll take another look.

---

<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:** [16 November 2020 07:48 UTC](https://discourse.joplinapp.org/t/drag-and-drop-behaviour/10546/33 "2020-11-16T07:48:13Z")

</div>

@Marvin Actually can you try pressing Ctrl while dropping or pressing the alt key? I've been doing some more testing on my system and it seems that pressing the Ctrl key while dropping should enforce a copy. It's possible that it could be the Alt key on another system. Might as well try shift as well.

---

<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 November 2020 08:10 UTC](https://discourse.joplinapp.org/t/drag-and-drop-behaviour/10546/34 "2020-11-16T08:10:30Z")

</div>

@CalebJohn There seems to be no difference, I tried "no key", "CTRL", "ALT", "SHIFT" and some combinations of this. On my system it's allways the same, the messages will be deleted (moved to trash) in Outlook.

I don't if this helps you:  
When I want to drag a message from the "Deleted items" from Outlook to Joplin it will be finallaly deleted from Outlook. There is no safety question If I'm sure. Deleting the message directly from the folder "Deleted Items" by hand a safety question pops up and asks me if I'm sure.

---

<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:** [16 November 2020 10:23 UTC](https://discourse.joplinapp.org/t/drag-and-drop-behaviour/10546/35 "2020-11-16T10:23:54Z")

</div>

@Marvin thanks for checking that. I've got another [pull request](https://github.com/laurent22/joplin/pull/4093) so we'll see how it goes this time. It seems that I made a mistake before by not reading the documentation close enough. Let's keep our fingers crossed!

---

<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:** [17 November 2020 09:33 UTC](https://discourse.joplinapp.org/t/drag-and-drop-behaviour/10546/36 "2020-11-17T09:33:25Z")

</div>

@CalebJohn Thanks! I'll look for the next pre-release and give it a try.

---

<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:** [19 November 2020 23:49 UTC](https://discourse.joplinapp.org/t/drag-and-drop-behaviour/10546/37 "2020-11-19T23:49:21Z")

</div>

The [new release](https://github.com/laurent22/joplin/releases/tag/v1.4.11) is out now!

---

<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 November 2020 06:26 UTC](https://discourse.joplinapp.org/t/drag-and-drop-behaviour/10546/38 "2020-11-20T06:26:07Z")

</div>

@CalebJohn I've downloaded the portable version 1.4.11 for testing.  
On my system it works as we discussed.  
Thanks for resolving the issue!

---

<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:** [20 November 2020 06:41 UTC](https://discourse.joplinapp.org/t/drag-and-drop-behaviour/10546/39 "2020-11-20T06:41:04Z")

</div>

Thanks for checking @Marvin, and thanks for your patience as we worked this out.

@sttrebo @nchris @JPa the fix will be in the next stable release!

---

<div class="post-metadata">

**Author:** ![nchris](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/nchris/32/5196_2.png) [@nchris](https://discourse.joplinapp.org/u/nchris)\
**Post date:** [20 November 2020 10:01 UTC](https://discourse.joplinapp.org/t/drag-and-drop-behaviour/10546/40 "2020-11-20T10:01:26Z")

</div>

A small step for humanity, a big step for my workflow.

Thank you very much!

[Previous page](https://discourse.joplinapp.org/t/drag-and-drop-behaviour/10546.md?page=1)

[Next page](https://discourse.joplinapp.org/t/drag-and-drop-behaviour/10546.md?page=3)
