id summary reporter owner description type status priority milestone component version resolution keywords cc 13397 D&D a widget inside its nested widget removes that widget Szymon Cofalik Tade0 "When you create a widget inside a widget and then try to drag and drop the upper widget into the nested one, console reports an error and the whole structure disappears from editor. '''Widget`s definition to use when reproducing:''' {{{ CKEDITOR.plugins.add( 'mywidget', { requires: 'widget', init: function( editor ) { editor.widgets.add('widgetCast', { button: 'Create mywidget', template: '
\
\

\
\
', upcast: function(element) { return (element.name == 'div' && element.hasClass('layout-row')); }, editables: { c1: { selector: '.c1' } } }); } } ); }}} (extra styling for easier reproduction). '''Steps to reproduce:''' 1. Create instance of mywidget. 2. Create another instance of mywidget into previously created one. 3. Select the first instance. 4. Drag and drop it into nested instance. '''Result:''' Both widgets disappear. '''Expected result:''' Dropping a widget inside itself should not be possible and there should be no helping line when trying to do so." Bug closed Normal CKEditor 4.5.2 General 4.5.0 fixed