Pasting an image into edgeless mode creates a new note instead (Firefox only)
Opened this issue · 1 comments
apkd commented
What happened?
Pasting an image into edgeless mode creates a new empty note instead. This only seems to happen in Firefox (also tested in Chrome and Edge), and only when the image was copied from another browser tab using the "Copy Image" option in the context menu. An error is logged in the browser console.
Confusingly, pasting screenshots (e.g. taken using the snipping tool) or images copied from any other program seems to work correctly. Pasting the image inside a note also seems to work fine.
Distribution version
Linux
What browsers are you seeing the problem on if you're using web version?
Firefox
Are you self-hosting?
- Yes
Relevant log output
XML Parsing Error: no root element found
Location: https://[redacted]/workspace/[redacated]/EVFWJmBfzMTi5uf0_kvcZ?mode=edgeless
Line Number 1, Column 1: 2 EVFWJmBfzMTi5uf0_kvcZ:1:1
Anything else?
No response