﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
14339	Drag and Drop sample does not work after the editor is destroyed and recreated.	Piotr Jasiun	Tade0	"And it looks like a bug in the CKEditor, not a core.

== Steps to reproduce ==

1. http://sdk.ckeditor.com/samples/draganddrop.html
2. In the console: `CKEDITOR.instances.editor1.destroy();`
3. In the console: `CKEDITOR.inline( 'editor1', { extraPlugins: 'hcard,sourcedialog,justify' } );`
4. Drag any ""Contact"" to the editor.

== Expected result ==

Drag and drop will work in the normal way, Contact will be inserted.

== Actual result ==

Nothing happen.

In fact, after destroy and recreate, the `dragstart` event on the contact list is not fired, what is weird, because that event should not be related to the editor instance. What is also interesting I can not attach listener to that event if the editor is not created, because the `CKEDITOR.plugins.clipboard` is undefined and `CKEDITOR.plugins.clipboard.initDragDataTransfer` causes error. Also if I add `dragstart` event on the plugin initialisation it is executed twice.

== Other details (browser, OS, CKEditor version, installed plugins) ==

http://stackoverflow.com/questions/34899462/ckeditor-drag-and-drop-plugin-integration-stops-working-after-editor-instance-is"	Bug	closed	Normal	CKEditor 4.6.2	General	4.5.0 Beta	fixed		
