question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Option: disableDragAndDrop disable the drag and drop inside the whole page.

See original GitHub issue

The option disableDragAndDrop is supposed to disable the drag and drop of images only inside the Editor.

But what this option does instead is disable the drag and drop of files inside the whole page, not only inside summernote.

To fix that you need to edit the summernote.js or summernote.min.js on line 4565: Change

$document.on('drop' to $dropzone.on('drop'

That fixes it.

Can you please make a patch to fix that?

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Reactions:1
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
Ontokratcommented, Sep 13, 2017

@lqez Sadly, the problem is not fixed by #2468

1reaction
lqezcommented, Sep 13, 2017

@Ontokrat please see whether #2468 can fix your problem or not.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Hidden Setting: Disable Drag and Drop - TiddlyWiki
New in: 5.1.22 To disable all the drag and drop operations that are built into the core, set the following tiddler to "no":....
Read more >
Disable Drag and Drop on HTML elements? - Stack Overflow
I'm working on a web application for which I'm attempting to implement a full featured windowing system.
Read more >
Disable Drag and Drop in Modern View Document Library
Hi all,. I could disable the drag and drop functionality in classic view using the css and script, and its not reflecting in...
Read more >
How can i disable drag and drop from edit page - WordPress.org
Hello, i see that this plugin contain a page called (Re-order) so how can i keep this one, and disable the drag and...
Read more >
How can I disable drag-and-drop functions on GUI in the ...
Yes it is possible to disable the drag option. From my investigation, there are 2 ways you can disable it.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found