Closed
Bug 507110
Opened 15 years ago
Closed 8 years ago
Copy and paste failing for images in several cases
Categories
(Firefox :: General, defect)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: aaronlev, Unassigned)
Details
Steps: 1. right click -> copy image 2. Paste into something like Google docs or any other rich text area Result: no image appears into doc but one should. However, these two methods do work: - drag and drop the image - physically selecting the image with the mouse and then ctrl/cmd+c to copy The problem appears to be that a file:/// URL is being copied over the original src attribute -- but only in this one case. If it's important to use a file URL then why isn't that also done for the mouse select and copy case? Possible solutions: 1. Don't rewrite the src 2. Insert some fake attribute, like originalsrc, with the actual URL. On paste into the Mozilla editor look for that and if it exists overwrite src with it.
Reporter | ||
Comment 1•15 years ago
|
||
Another case where it fails -- any kind of copy from Safari into Firefox, including selecting text. This seems to indicate that the solution may not be #1 or #2 above, since we can't always control what's put into the clipboard. The solution may need to be in the Mozilla core editor where a src="file://" img URL must be somehow dealt with.
Summary: Right click image copy and paste fails → Copy and paste failing for images in several cases
Comment 2•8 years ago
|
||
This WFM on google docs and rich text areas in general, so I'm going to go ahead and mark WFM - we can reopen if there are specific instances where it doesn't work.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•