-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Closed
matrix-org/matrix-react-sdk
#4674Labels
Description
The issue didn't exist in the previous composer. When pasting images (that are stored in the clipboard in a specific way), the data is pasted both as a file and as binary garbage in the composer.
Notice the weird characters on the bottom in the composer.
To reproduce:
- Linux
- Riot on Firefox, with new composer enabled in the labs
- Take a screenshot using this command:
import png:- | xclip -selection c -t image/png
- Select part of the screen, now the screenshot is in your clipboard. Go to Riot, click on the composer and paste the image. You'll see “Upload files” dialog (which is correct) and also some unicodey characters in the composer (which should be fixed).