Le 2010-04-08 à 12:07, Michael Diehr a écrit :
> Any ideas? I'd really love to have the "F1, copy, paste" technique work in
> forum or blog posts.
Direct upload support and copied styles is basically impossible without
involving some kind of external plugin (flash, java applet {ahem}), and even
then the implementation isn't easy, due to OS differences in how rich text is
handled, what application the text originated from, etc, what flash version /
browser is being used, etc.
Something vaguely similar to this is possible, but only on one browser
(Firefox) if I recall correctly, and it doesn't support moving rich text, just
images. It's standards-based, but bleeding edge, so it's more of a "this is
what will be possible in a couple of years, maybe, if the other browser
companies decide to support it".
http://hacks.mozilla.org/2010/02/an-html5-offline-image-editor-and-uploader-application/
Paul also put together a demo showing text and image drag and drop, but I can't
find it now.
Basically, your best bet is to use an auto-uploading service like Droplr,
Tinygrab, cloudapp, etc., and live with the limitations of whatever JS text
editor (mostly probably TinyMCE) embedded into your forum software.
Neil