﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
14572	Drag & drop of anchor at edge of content to same location causes error	Jin-Soo Jo		"You can see this on the current 4.5.8 demo @ http://ckeditor.com/demo . Tried on Chrome & Firefox.

1. Sample content (source)
{{{<a href=""http://ckeditor.com/"">link1</a> abc <a href=""http://ckeditor.com/"">link2</a>}}}
2. In WYSIWYG mode, drag & drop the link1 to the very beginning or link2 to the very end of the line.
The link disappears & there's an error in the console:
{{{
Uncaught TypeError: Cannot read property 'type' of null
window.CKEDITOR.window.CKEDITOR.dom.CKEDITOR.dom.range.setStart @ ckeditor.js:formatted:3729
}}}
which is at:
{{{
setStart: function(b, c) {
                b.type == CKEDITOR.NODE_ELEMENT && CKEDITOR.dtd.$empty[b.getName()] && (c = b.getIndex(),
}}}


Upstream of that, a has no parent node @ setStartAfter:
{{{
setStartAfter: function(a) {
                this.setStart(a.getParent(), a.getIndex() + 1)
            },
}}}"	Bug	confirmed	Normal		General	4.5.8			
