I fully understand the reason that you're not able to paste screenshots from the clipboard into CKEditor, or any other web page for that matter. Long ago, I wrote some code on top of FCKEditor that detected pasted screenshots (by checking the html for file://temp/ strings), popped-up a dialog box prompting the user to upload each one (and helping them to do so), and then dynamically replaced the strings in the HTML with paths to the newly-uploaded files. It worked, but it was kludgy and required the user to manually copy/paste each path and hit "Upload" one-by-one.
I recently found a working example of copy/paste into an HTML editor, which uses a signed Java Applet to get around the security issues. It does require the user to accept the applet the first time it runs, but that would be a small price to pay for such useful functionality.
Has anyone thought of integrating this into CKEditor?
http://supa.sourceforge.net/demo.php
Sat, 05/21/2011 - 00:58
#1