﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
13903	IndexSizeError in Chrome on getData() after delete widget	Daniel		"== Steps to reproduce ==

1. Load attached HTML file in Chrome
2. Follow instructions on the page
3. Observe error:

{{{
Error: Failed to execute 'extend' on 'Selection': 1 is larger than the given node's length.
    at Error (native)
    at k (https://cdn.ckeditor.com/4.5.4/standard-all/ckeditor.js:373:130)
    at c (https://cdn.ckeditor.com/4.5.4/standard-all/ckeditor.js:386:109)
    at h (https://cdn.ckeditor.com/4.5.4/standard-all/ckeditor.js:10:70)
    at window.CKEDITOR.window.CKEDITOR.dom.CKEDITOR.event.CKEDITOR.event.fire (https://cdn.ckeditor.com/4.5.4/standard-all/ckeditor.js:11:433)
    at window.CKEDITOR.window.CKEDITOR.dom.CKEDITOR.editor.CKEDITOR.editor.fire (https://cdn.ckeditor.com/4.5.4/standard-all/ckeditor.js:13:97)
    at window.CKEDITOR.window.CKEDITOR.dom.CKEDITOR.tools.extend.getData (https://cdn.ckeditor.com/4.5.4/standard-all/ckeditor.js:235:385)
    at HTMLButtonElement.<anonymous> (file:///Users/dimagi/code/vellum/ckeditor-bug.html:40:31)
    at HTMLButtonElement.m.event.dispatch (https://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js:3:8436)
    at HTMLButtonElement.r.handle (https://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js:3:5139)
}}}

== Expected result ==

Expected `editor.getData()` to return editor data.

== Actual result ==

`editor.getData()` throws exception (see above).

== Other details (browser, OS, CKEditor version, installed plugins) ==

Browser: 46.0.2490.80 (64-bit)
OS: Mac OS X 10.8.5
CKEditor 4.5.4 (see attached HTML file for config)

Possibly related issues: #12727 #13307 #13389 #13513"	Bug	closed	Normal		General	4.5.7	fixed		
