Opened 8 years ago

Closed 8 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:


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 (
    at c (
    at h (
    at (
    at (
    at (
    at HTMLButtonElement.<anonymous> (file:///Users/dimagi/code/vellum/ckeditor-bug.html:40:31)
    at HTMLButtonElement.m.event.dispatch (
    at HTMLButtonElement.r.handle (

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

Attachments (1)

ckeditor-bug.html (1.7 KB) - added by Daniel 8 years ago.
Reproduce error

Download all attachments as: .zip

Change History (2)

Changed 8 years ago by Daniel

Attachment: ckeditor-bug.html added

Reproduce error

comment:1 Changed 8 years ago by Jakub Ś

Resolution: fixed
Status: newclosed

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.

Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy