trix
trix copied to clipboard
Broken copy/past from Whatsapp
When you copy a imagem from whatsapp web and past it on trix, it dont show
And network tab show a error
Steps to Reproduce
- Copy a imagem from whatsapp web and past on trix
Details
- Trix version: We use 1.3.2 on production, but last one occurs too
- Browser name and version: Chrome
- Operating system: Mac (but happens on anyone)
Is it because the browser you're running Trix in doesn't have access to those images? We get these kinds of issues when users copy and paste images from Gmail since those images are authorised only to them.
I guess at the time of editing, they can see the image, but others that visit the page later can't. In your case, I assume you're using some kind of seperate WhatsApp client?
Hi Brendon, Sorry for delay to reply...
I dont know why.
When I past on Github comment for exemplo, It works. When I past on Trix, it breaks...
Ex: this image I copy from whatsapp web chat, and paste here
If I paste on trix:
Same ctrl+c / ctrl+v
If it's any help, this is what I see. I assume you see an actual image and not what looks like a 404 placeholder:
Yes, On github the paste works like expected, the same image on Trix
An interesting one. It looks like trix is interpreting the image as a blob even though it appears to be a valid web address. Perhaps it actually is a blob?
https://stackoverflow.com/a/30881444/129798
Trix can handle blobs I think? Or maybe it can't, and that's the problem... I don't work for this project, but perhaps one of the maintainers knows?
I update the trix and its works now Sorry