﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
13389	editor.getData() fails, when cursor is next to a HR tag	wginolas	kkrzton	"1. Configure a inline CKEditor with the Sourcedialog plugin enabled.
2. Visit this editor with Chrome.
3. Enter this content via the Sourcedialog plugin:
{{{
<hr />
}}}
4. Open the Sourcedialog right after you closed it.
5. The dialog is empty and the following exception is thrown:
{{{
Uncaught IndexSizeError: Failed to execute 'extend' on 'Selection': 1 is larger than the given node's length.
moveNativeSelectionToBookmark @ selection.js:224
afterData @ selection.js:895
listenerFirer @ event.js:144
CKEDITOR.event.fire @ event.js:290
CKEDITOR.editor.fire @ editor_basic.js:24
CKEDITOR.tools.extend.getData @ editor.js:880
onShow @ sourcedialog.js:24
listenerFirer @ event.js:144
CKEDITOR.event.fire @ event.js:290
(anonymous function) @ plugin.js:878
(anonymous function) @ tools.js:464
}}}

I do not fully understand, what is happening here, but the Souredialog plugin calls editor.getData() when the dialog is opened. This call fails."	Bug	closed	Normal	CKEditor 4.5.7	General	4.4.6	fixed	Blink	
