-
-
Notifications
You must be signed in to change notification settings - Fork 8
pictures copy & pasting behaviour #4
Comments
For now, before it gets fixed, you will have to right click and click "paste" to insert an image and if this happens, pressing any letter will remove the input field. I will look into this issue, though. |
thanks, it did the trick! |
So this bug is somewhat changed in d305e0b as now images appear then disappear. What needs to be done is I need to figure out what type of content is in the clipboard. If it's an image let twitter handle the paste and if it's text cancel the propagation. I just haven't figured it out yet. Help is appreciated |
@ZusorCode This stackoverflow might be useful as it has a few functions for telling what type of thing is being pasted, but if all else fails, I at one point wrote an addon that'd let you monkey patch Twitter's code. |
the page creates a text input element when trying to insert a picture in a tweet.
before ctrl+v:
after ctrl+v:
steps to reproduce:
I'm using Firefox 68.0 on Linux Mint Tessa with adblock and ghostery extensions that I've already tried disabling which didn't help, sadly.
The text was updated successfully, but these errors were encountered: