localwiki/sapling — Issue #53: Drag-and-dropping stuff into CKEditor
Author: philipn
Created: 2011-11-24 09:56:07+00:00
State: open
Labels: defect, editor

Whereas cutting and pasting generates clear events that allow us to clean up the pasted contents, but drag and drop [currently] does not do the same. The user can select some content inside or outside the editor and drag it inside, which will bypass our cleanup code until the page is saved.

As far as I know right now, the only options are:
1. Not worry about it.
2. Disallow drag and drop (at least from outside the editor, within is fine).
3. Implement a hack like this one in FCKeditor: http://dev.ckeditor.com/ticket/338 which apparently brings up a dialog that tells you to paste into it instead of doing DnD.

When it works right, this is actually a pretty rad feature to have. But if it's going to break stuff it's not worth it.