Closed
Bug 570460
Opened 15 years ago
Closed 15 years ago
enable pasting images from clipboard to browser
Categories
(Core :: DOM: Core & HTML, enhancement)
Tracking
()
RESOLVED
DUPLICATE
of bug 439189
People
(Reporter: t, Unassigned)
Details
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; de; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3
Build Identifier:
I really dont understand why browser dont allow me to allow it to paste images
into an rich-text-editor or whatever enabled UI element in the browser.
Think about how much easier blogging would be if you just could paste the
screenshot you just made or the imagefile you just copied from your desktop to
the RTE and go on editing it (with the awesome html5- or flash image editors).
I know there is some security issue with that. But we already have solutions
for this, dont we? I dont think every site should be allowed to access the
imanges in my clipboard. It would be enough for me to whitelist the sites like
firefox already does with plugin-installation-sites or with java-applets that
request for HDD access or something.
In my opinion it cannot be that it is easier for me to make a screencast of my
system with screenr.com that to add an image to my blog-article.
(first written at https://bugzilla.mozilla.org/show_bug.cgi?id=407983#c27)
Reproducible: Always
Steps to Reproduce:
This is what is should work like:
- I copy an image at some place in my system (image-editor, browser, filesystem,…)
- I go to my browser
– I click in my RTE (like my wordpress- or googlemail- or jira-editor)
- I press ctrl+v or the paste-button
- Depending on my preferences for this site there is an alert that asks me if I want to pass the image (preview if possible) to the browser.
- I can click yes, no and always yes for this site (subdomain)
- I click yes
- (*)
- The image is uploaded to my webspace(**) and shown in my RTE window
(*) At this point there could and maybe should be a way to change the file-name. I like the way balsamiq does it: After ctrl+v it asks you for a file-name: http://balsamiq.com/blog/2009/10/08/pre-release-better-image-handling-assets-folders/
(**) About the uploading-part: Of course the browser/site has to know where to upload the image. So an easy way would be to create a meta-attribute like "upload-path" that contains the path in which those images are stored. This meta-attribute has to be used by the RTE.
But there is a nicer solution for this for shure… Like some JS-API?
Comment 1•15 years ago
|
||
This is much to complicated ... all that is needed is the possibility to paste the image in the location bar. No upload is necessary, or whitelisting or whatever. A simple data-URI will do.
Status: UNCONFIRMED → RESOLVED
Closed: 15 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•