Move image clipboard task to done

This commit is contained in:
Shantur Rathore
2025-10-24 13:15:01 +01:00
parent 640dbec2fb
commit af304dd6d3

View File

@@ -0,0 +1,31 @@
---
title: Image Clipboard
description: Support pasting images from the clipboard.
---
Implement Image Clipboard Support
---
### Detect Image Paste
Detect when image data is present in the system clipboard during a paste event.
Prioritize image data over text data if both are present.
---
### Create Image Attachment
Automatically create an image attachment from the pasted image data. Convert the image to a base64 encoded format for internal handling and submission.
Display the image attachment as a chip in the input area.
---
### Acceptance Criteria
- Pasting an image from the clipboard creates an image attachment chip.
- The image data is base64 encoded and associated with the attachment.
- The attachment chip has a suitable display name (e.g., `[Image #1]`).
- Users can clear the image attachment.