Opened 9 years ago
Closed 9 years ago
#13903 closed Bug (fixed)
IndexSizeError in Chrome on getData() after delete widget
Reported by: | Daniel | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | General | Version: | 4.5.7 |
Keywords: | Cc: |
Description
Steps to reproduce
- Load attached HTML file in Chrome
- Follow instructions on the page
- 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)
Attachments (1)
Change History (2)
Changed 9 years ago by
Attachment: | ckeditor-bug.html added |
---|
comment:1 Changed 9 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
Version: | 4.5.4 → 4.5.7 |
I have checked your sample and it seems it has started working with latest CKEditor 4.5.7 (I have just changed CDN script version to 4.5.7).
I marking this issue as fixed but if you see other problems with that sample, please let me know.
Reproduce error