Dragging and dropping work on firefox but not on chrome
See original GitHub issueHello, I have the following single file component on top of which I drop an image: `<template> <editor :extensions="extensions"> <div slot="content" slot-scope="props">
Test Text
</div> </editor> </template> <script> import { Editor } from 'tiptap' import { HardBreakNode, HeadingNode, ImageNode, BoldMark, CodeMark, ItalicMark, } from 'tiptap-extensions' </script>export default { components: { ‘editor’: Editor, }, data() { return { extensions: [ new HardBreakNode(), new HeadingNode({ maxLevel: 3 }), new ImageNode(), new BoldMark(), new CodeMark(), new ItalicMark(), ] } } ` The dragging and dropping of an image works on firefox , but not on chrome.
On chrome I receive a Resource interpreted as Document but transferred with MIME type image/gif: "file:///home/mihaita/Pictures/giphy.gif".
warning and then the browser proceeds to navigate to the dropped file file:///home/mihaita/Pictures/giphy.gif
;
Any ideas what goes wrong?
Issue Analytics
- State:
- Created 5 years ago
- Comments:14 (6 by maintainers)
Top Results From Across the Web
dragAndDrop works in Firefox but not in Chrome
I can use either dragAndDropToObject or the drag and drop to offset function. Both work in Fire Fox. Neither work in Chrome. The...
Read more >drag and drop working in chrome, not firefox - Stack Overflow
The reason it works in Chrome is apparently that Chrome implement non-standard, IE-style window.event , while Firefox does not.
Read more >why can't i no longer drag and drop urls to my desktop!
Hello, I tried to run firefox with no-deelevate option but do not solve. from cmd : C:\Program Files\Mozilla Firefox>firefox -no-deelevate ...
Read more >Does anyone know why i cant drag and drop attachments from ...
Works on chrome based browsers but i dont want to use them. ... to drag and drop attachments from outlook to firefox but...
Read more >Google Chrome's drag drop feature stopped working
Running Chrome as an administrator is causing this problem. Just go to chrome.exe settings and disable it. Restart ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
This is fixed in
tiptap-extensions 0.16.3
@childonline Yeah super strange. Didn’t find anything until yet. The demo page setup is indeed different because I don’t use the tiptap packages from npm. Instead I added some alias with webpack to grab these packages directly from the src folders of the repository. But I don’t think that’s what makes the difference.