Ctrl+V on Windows XP with FF pastes local image
|Reported by:||mb@…||Owned by:|
|Component:||Core : Pasting||Version:||3.0|
Hi, I'm mike from the OTRS project. We use CKEditor in our open source software, and generally our users are really happy with it.
One thing that we found out recently is that if you're on Windows, with Firefox 3,6, you can paste an image in the editor by clicking Ctrl+v on the keyboard. If you do this on Win7 or WinVista, then the result is a broken image icon diplayed in the editor. If you look at the source there's an <img> tag which points at the file in the users temp dir on the local hard drive.
However, if you use Firefox 3.x on WinXP apparently the image IS displayed properly inside the editor so it LOOKS like the image is there, only obviously the path is still local. This is nastier because the user THINKS it worked, and submits the entry. Only for anyone using a different PC the file is not in this location, so they don't see the image.
Inserting an image using the image button in the CKEditor toolbar works just fine.
1.) CKeditor should stop making Ctrl+v with image data on the clipboard insert broken <img> tags?
2.) since apparently the link to a file is available, it would be great if this same action could open the image dialog with the link to the local file pre-populated.
We even have users who reported that it works for them already in the way described in 2) just I could not find the browser/OS combination to reproduce that.