Describe the bug
When an Excalidraw whiteboard is open and the user tries to drag & drop an image to the canvas, the image is pasted to the canvas but also uploaded to the folder underneath Excalidraw's embeded view.
To Reproduce
Steps to reproduce the behavior:
- Create or open Excalidraw whiteboard.
- Drag & drop image to Excalidraw canvas.
- The image is also uploaded to the folder underneath Excalidraw embeded view.
Expected behavior
The drag & dropped image should only be pasted inside Excalidraw canvas, it should not be uploaded as a file inside the folder underneath Excalidraw embeded view.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
- OS: Windows 11
- Browser Chrome, Firefox
- Version Cloudreve 4.9.2
Smartphone (please complete the following information):
Additional context
The issue could be fixed by disabling drag & drop upload box when an app or editor is open in foreground.