Opened 7 years ago

Last modified 3 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: kaffesump

Description (last modified by j.swiderski)

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 7 years ago.

Download all attachments as: .zip

Change History (8)

Changed 7 years ago by garry.yao

comment:1 Changed 7 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 fredck

  • Milestone CKEditor 3.x deleted

Milestone CKEditor 3.x deleted

comment:3 Changed 7 years ago by alfonsoml

  • Cc kaffesump added

#6175 has been marked as dup

comment:4 Changed 6 years ago by wwalc

  • Version set to 3.0

comment:5 Changed 5 years ago by nikanea

Very usefull, why isn't it activated

comment:6 Changed 4 years ago by j.swiderski

  • Description modified (diff)

comment:7 Changed 3 years ago by Reinmar

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