#13044 closed defect (fixed)
Image on clipboard cannot be pasted on Trac 1.2
Reported by: | Jun Omae | Owned by: | Jun Omae |
---|---|---|---|
Priority: | normal | Component: | TracDragDropPlugin |
Severity: | normal | Keywords: | |
Cc: | trac-hacks.org@… | Trac Release: | 1.2 |
Description
The feature works fine on Trac 1.0 but doesn't on Trac 1.2 (at least, with Firefox).
Attachments (0)
Change History (10)
comment:1 Changed 8 years ago by
comment:2 Changed 8 years ago by
Cc: | trac-hacks.org@… added |
---|
comment:7 follow-up: 8 Changed 7 years ago by
Sadly even with Quantum the issue still exists. I noticed that for the paste event to fire, Firefox needs some kind of focus. As a proof of concept, injecting an input field in the paste container div makes FF fire the event properly: https://www.dropbox.com/s/a9iyk85oyie4sn9/Screenshot%202017-11-20%2018.03.57.png?dl=0
So maybe replacing the "Paste an image to attach" with an input is the easiest fix for this problem.
comment:8 Changed 7 years ago by
Replying to Robert Becker:
So maybe replacing the "Paste an image to attach" with an input is the easiest fix for this problem.
No. Only text can be pasted on <input type="text" >
field.
I can confirm that it does not work with Firefox. Works fine with Chrome. I am using the latest plugin version from https://trac-hacks.org/svn/tracdragdropplugin/0.12