On 23 Feb 2016 at 15:14:06, Guillaume Lerouge (guillaume(a)xwiki.com(mailto:
guillaume(a)xwiki.com)) wrote:
Hi Edy,
On Tue, Feb 23, 2016 at 2:38 PM, Eduard Moraru wrote:
> On Tue, Feb 23, 2016 at 1:22 PM, vincent(a)massol.net
> wrote:
>
> >
> >
> > On 23 Feb 2016 at 12:06:43, Guillaume Lerouge (guillaume(a)xwiki.com
> (mailto:
> > guillaume(a)xwiki.com)) wrote:
> >
> > > Hi Stuart,
> > >
> > > thanks for your feedback. This is indeed a frequent request. In the
> > current
> > > WYSIWYG editor, it partially works (your image has to be available
> from a
> > > public server).
> > >
> > > However, we added full support for this feature in the last
version
of
> > the
> > > CKEditor extension:
> > >
> >
>
http://extensions.xwiki.org/xwiki/bin/view/Extension/CKEditor+Integration
> > > => if you drag & drop an
image in CKEditor, it is automatically
> attached
> > to
> > > the wiki page.
> > >
> > > Please also note that drag & drop of images currently work if you
go to
> > the
> > > "attachments" tab of any page (while in view mode) and drop your
image
> > > there.
> >
> > hmm are you sure? I’m not aware of this feature. I just tested it
and
it
> > didn’t work for me on 8.0M2.
> >
>
> Tried it and it seems to work only if you drop the file exactly over
the
> file upload field ("Browse" button
or "No files selected" label, i.e.
field
> with id "xwikiuploadfile"). This
definitely needs to be improved.
>
> Personally, I would prefer we go full page Drag & Drop support, i.e.
if
a
> file is dropped in the XWiki browser tab, a
popup asks the user if he
wants
> to attach the dropped files to the current
XWiki document. Something
like
> GitHub is doing when you can drop a file
anywhere in the tab of an
XWiki
repository (and a commit form will show up for you to fill details).
I agree that this would be nice too. However, it doesn't mean you don't
need it in edition mode. Having to switch back and forth between view and
edit because you forgot to upload a file would be tedious. It's needed in
both places.
+1 to that.
Maybe you`ve missed my next reply:
"My point here was that maybe we could make it a page-level feature and not
an editor-level feature that each editor would have to implement.”