Opened 8 years ago
Last modified 8 years ago
#14895 confirmed Bug
Uncaught IndexSizeError JS error
Reported by: | Karen Ananiev | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | General | Version: | 4.5.7 |
Keywords: | Webkit Blink | Cc: |
Description
We faced this issue in different conditions but there are the steps to consistently reproduce it. It seems normalization of bookmark sometimes works incorrect so Undo feature stops to work.
Steps to reproduce
- Open CKEditor demo http://ckeditor.com/demo
- Clear all contents
- Enable SCAYT
- Apply Heading 1
- Type something like "abababab" then hit Shift+Enter
- Move focus out of the editor
- Click inside editor to back focus and hit Shift+Enter again
- Type "test" and select it
- Apply Heading 2
- Perform Undo one or two times
See attached video with all of these steps.
Expected result
Undo works
Actual result
Undo doesn't work. There is JS error ckeditor.js:415 Uncaught IndexSizeError: Failed to execute 'setStart' on 'Range': There is no child at offset 6.
Other details (browser, OS, CKEditor version, installed plugins)
Chrome
There is one more case with the same error.
Steps to reproduce
- Open CKEditor demo http://ckeditor.com/demo
- Place cursor after the heading and hit Shift+Enter
- Move focus out of the editor
- Back focus and type "test"
- Select "test" and apply Heading 2
JS error in console: ckeditor.js:380 Uncaught IndexSizeError: Failed to execute 'setStart' on 'Range': The offset 7 is larger than or equal to the node's length (4).
Attachments (1)
Change History (2)
Changed 8 years ago by
Attachment: | quickcast-30-09-2016-08-40-24.mp4 added |
---|
comment:1 Changed 8 years ago by
Keywords: | Webkit Blink added |
---|---|
Status: | new → confirmed |
Version: | → 4.5.7 |
Both problems can be reproduced from CKEditor 4.5.7 in Safari and Chrome.