Skip to content

Clipboard image entry support#46

Merged
leerob merged 1 commit into
mainfrom
cursor/clipboard-image-entry-support-36ca
Dec 31, 2025
Merged

Clipboard image entry support#46
leerob merged 1 commit into
mainfrom
cursor/clipboard-image-entry-support-36ca

Conversation

@leerob

@leerob leerob commented Dec 30, 2025

Copy link
Copy Markdown
Owner

Add clipboard image paste support to the web app for improved user convenience.


Open in Cursor Open in Web


Note

Introduces clipboard paste handling to +page.svelte via a new handlePaste that reads image files from ClipboardEvent and calls addFiles. Pasting is ignored when focus is in inputs/textareas/contenteditable, and multiple pasted images switch to list view.

The drop zone UI now displays a paste hint and a keyboard cue for paste. New Playwright e2e tests (web/e2e/clipboard.spec.ts) verify the hint visibility, single-image paste flow, prevention while typing, and multi-image paste behavior.

Written by Cursor Bugbot for commit 92345e0. This will update automatically on new commits. Configure here.

Users can now paste images directly from the clipboard into the web app
using Cmd/Ctrl+V. The paste handler extracts image files from clipboard
data and processes them through the existing compression pipeline.

- Add paste event listener to handle clipboard images
- Update drop zone UI to show paste hint (⌘V to paste)
- Skip paste handling when typing in input fields
- Add comprehensive e2e tests for clipboard functionality
@cursor

cursor Bot commented Dec 30, 2025

Copy link
Copy Markdown

Cursor Agent can help with this pull request. Just @cursor in comments and I'll start working on changes in this branch.
Learn more about Cursor Agents

@vercel

vercel Bot commented Dec 30, 2025

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
pixo Ready Ready Preview, Comment Dec 30, 2025 3:55pm

@leerob leerob marked this pull request as ready for review December 30, 2025 15:59

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This PR is being reviewed by Cursor Bugbot.

You can kick off a cloud agent using @cursor - e.g. @cursor fix the bug in clipboard.spec.ts.

Comment thread web/e2e/clipboard.spec.ts
@leerob leerob merged commit 12e2b88 into main Dec 31, 2025
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants