feat: add image paste support

Add image paste functionality allowing users to paste images directly
from the clipboard as files. Uses the standard DataTransfer API
(clipboardData.items) for cross-browser compatibility.

On the download page, images are now displayed as previews in addition
to the download option.

Also fix Rust 2024 never-type-fallback compatibility by adding turbofish
type annotations to redis crate calls.
This commit is contained in:
Stefan Meinecke
2026-05-12 14:59:30 +02:00
parent d40bbd25ea
commit 3e3d528d5a
4 changed files with 297 additions and 12 deletions
+4 -1
View File
@@ -36,7 +36,10 @@
"advanced": {
"explanation": "By default, a securely generated password is used for each note. You can however also choose your own password, which is not included in the link.",
"custom_password": "custom password"
}
},
"pasting": "Pasting image...",
"pasted_images": "Pasted Images",
"remove": "Remove"
},
"show": {
"errors": {