Allow users to paste images from clipboard
Brief Title
Acceptance Criteria fulfillment
- [ ] allow users to paste images.
Fixes #947
Video/Screenshots
Screencast from 2025-02-02 11-32-43.webm
PR Test Details
Note: The PR will be ready for live testing at https://rocketchat.github.io/EmbeddedChat/pulls/pr-948 after approval. Contributors are requested to replace <pr_number> with the actual PR number.
Hi @thepiyush-303 Why only images, can we make it generic ?
Hey @Spiral-Memory you mean pasting files also?
Yeah, anything
Image, Files Videos
I think every browser do not support copying files, videos, for e.g i am using firefox and it does not support copying files.
Okay, so only images will be possible 🤔
Cool, then, Can you optimize this code, looks there there are many manual checks, can we do better ?