Opened 8 years ago

Last modified 4 years ago

#5692 new New Feature

Handle file dropping in editor

Reported by: Garry Yao Owned by:
Priority: Normal Milestone:
Component: General Version: 3.0
Keywords: Discussion HasPatch Cc: Carl-Johan Blomqvist

Description (last modified by Jakub Ś)

Provide a plugin to detect desktop file dropping into editor, for those support browsers.
The detected file info could be used to upload the file immediately or perform any possible customization.

Edit: Yes that is most correct. Editor should have at least a hook for implementing drag&drop into editor. What I mean is that if editor is connected with file uploader (like CKFinder) it should prepare image information that uploader can use to upload file. After file is uploaded, uploader should send new image path and editor should apply it.

Attachments (1)

5692.patch (3.4 KB) - added by Garry Yao 8 years ago.

Download all attachments as: .zip

Change History (8)

Changed 8 years ago by Garry Yao

Attachment: 5692.patch added

comment:1 Changed 8 years ago by Garry Yao

Keywords: HasPatch added

The patch introduces the 'dropfile' plugin, currently detect only dropped image file and fire a 'dropDesktopImage' event, which was later consumed by 'image' plugin to trigger an upload dialog.

comment:2 Changed 7 years ago by Frederico Caldeira Knabben

Milestone: CKEditor 3.x

Milestone CKEditor 3.x deleted

comment:3 Changed 7 years ago by Alfonso Martínez de Lizarrondo

Cc: Carl-Johan Blomqvist added

#6175 has been marked as dup

comment:4 Changed 7 years ago by Wiktor Walc

Version: 3.0

comment:5 Changed 5 years ago by Nicolas

Very usefull, why isn't it activated

comment:6 Changed 4 years ago by Jakub Ś

Description: modified (diff)

comment:7 Changed 4 years ago by Piotrek Koszuliński

Will be handled in #11437.

Note: See TracTickets for help on using tickets.
© 2003 – 2017 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy