You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-11-06 09:19:22 +02:00
Desktop: Fix drag and drop behaviour to "copy" instead of "move" (#4031)
This commit is contained in:
@@ -10,6 +10,7 @@ export default function useDropHandler(dependencies:HookDependencies) {
|
||||
|
||||
return useCallback(async (event:any) => {
|
||||
const dt = event.dataTransfer;
|
||||
dt.dropEffect = 'copy';
|
||||
const createFileURL = event.altKey;
|
||||
|
||||
if (dt.types.indexOf('text/x-jop-note-ids') >= 0) {
|
||||
|
||||
Reference in New Issue
Block a user