'React quill drop and paste image module issue

Maybe someone tried to paste image(or make dnd image) from Microsoft Outlook mails? It's throw error in console like: Not allowed to load local resource: file:///C:/Users/asad/AppData/Local/Temp/msohtmlclip1/01/clip_image002.png (that error ) And quill painted void img icon.like here

It's happened cause browser security policy is working, I know, but when I tried to catch paste event handler in my web app - It's working! and I also was able to convert data from clipBoard event to normal format(without file://, like data:C/....).screenshot When I was trying to make debbuger in my custom image handler it's didn't response my quill modules example)

Please, can you tell me how we can resolve this options of users event?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source