Hi and congratulations first for the incredible software.
I have a feature that still cannot find in any WYSIWYG editor... to paste images from clipboard.
I think it should be a really fantastic feature to add. Just define in the setting a temp folder to store the images and when the user tries to paste an image, the editor automatically upload the image to that folder in the server and creates a link to it.
It is a way much faster than upload the image manually and then add image an fill the field URL manually once more.
What do you think? or maybe it was already possible and I didnt know.
Many thanks and best regards,
Jose
I have a feature that still cannot find in any WYSIWYG editor... to paste images from clipboard.
I think it should be a really fantastic feature to add. Just define in the setting a temp folder to store the images and when the user tries to paste an image, the editor automatically upload the image to that folder in the server and creates a link to it.
It is a way much faster than upload the image manually and then add image an fill the field URL manually once more.
What do you think? or maybe it was already possible and I didnt know.
Many thanks and best regards,
Jose
Re: Suggestion - Paste image directly from the clipboard
Re: Suggestion - Paste image directly from the clipboard
what is impossible? to catch the content from the clipboard ?
to create a local file with that content?
to make the automatic upload of the file?
all of this...
It was just a fast idea that came up with a real need I am having at work quite often. I will think about it and take my time.
thanks anyway for the fast reply.
Jose
Re: Suggestion - Paste image directly from the clipboard
Re: Suggestion - Paste image directly from the clipboard
The only caveat is it's not entirely automated, but it's close enough that the users don't mind.
Here's how:
When a user pastes anything into the WYSIWYG box (detected by JavaScript), the editor scans the HTML and looks to see if there are any "FILE:\\" .JPG, .GIF, or other image-type links.
If it finds one, it pops up a dialog box saying "Pasted Image detected - you must upload to the server". The box also includes an HTML File Upload box (which feeds a back-end ASP Image Uploader), and the URL to the image "FILE:\\C:......" in text, just above the box. The instructions say "select the following text", then have a big blue arrow, then "Paste it here:" and the Upload box appears. Then there is another big blue arrow and the instructions "Then Press OK". We can't automatically put the image local URL into the upload box due to browser security features, but we CAN check to see if they copied and pasted the URL correctly.... and throw an error if not. This process automatically repeats for all the images detected in the WYSIWYG window.
All of the above sounds fairly kludgy, but once you use it a couple times, it becomes very quick... just double click the URL, right-click-paste the dialog, OK, wash, rinse, repeat. My users find it quite simple and a very useful feature.
Re: Suggestion - Paste image directly from the clipboard
In any case, this can be quite useful in a controlled environment. You may think on developing a plugin for it as soon as V3 comes out on beta.
Frederico Knabben
CKEditor Project Lead and CKSource Owner
--
Follow us on: Twitter | Facebook | Google+ | LinkedIn
Re: Suggestion - Paste image directly from the clipboard
On a side note, we did look at FCKEditor about a year ago but choose to implement OpenWYSIWYG for several reasons, including the naming of FCKEditor. However once 3.x comes out, I'll definately be looking at re-implementing using CKEditor, and at that time I'll look at developing a plugin.
Re: Suggestion - Paste image directly from the clipboard
We're also very interested about this feature... Is there any news here? Maybe we could help...
Paulo Alvim
Powerlogic - Brazil