- Start the app from this repository (
pnpm run dev). - Open any thread where the composer is enabled.
- Have an image copied to system clipboard (for example screenshot copy).
- Focus the composer textarea.
- Paste clipboard content that contains only an image file payload.
- Confirm an image chip/preview is added to composer attachments.
- Copy plain text only and paste into composer.
- Copy mixed content (plain text + image, if source provides both) and paste once.
- Copy long plain text (at least 2000 characters) and paste into composer.
- Confirm the long text is attached as a
.txtfile instead of being inserted into the textarea. - Send the message with the pasted image/text attachment.
- Image-only clipboard paste adds an image attachment to composer.
- Plain-text paste still inserts text into the composer and does not create an attachment.
- Mixed payload paste attaches the image while preserving text paste behavior.
- Long plain-text paste (>= 2000 chars) creates a
.txtattachment and does not insert raw text into the textarea. - Sending proceeds with the attached pasted image.
- Remove the attached image chip from composer if not needed.