Opened 9 years ago
Last modified 9 years ago
#14714 closed Bug
Divarea - changing tabs and applying styles throws JS error — at Initial Version
| Reported by: | Jakub Ś | Owned by: | |
|---|---|---|---|
| Priority: | Normal | Milestone: | CKEditor 4.7.0 |
| Component: | General | Version: | 4.0 |
| Keywords: | Blink | Cc: |
Description
Steps to reproduce
- Open two tabs in Chrome or Opera
- Open divarea sample and clear editor contents.
- Type text, select
Bigfrom styles dropdown, type more text, selectSmalland type more text - Click on another tab, click on tab with editor and select e.g.
Typewriterstyle from dropdown.
Expected result
No JS error is thrown
Actual result
JS error is thrown:
Code: selection.js
Line: 1921
Message: Uncaught IndexSizeError: Failed to execute 'setStart' on 'Range': The offset 22 is larger than or equal to the node's length (15).
Code: style.js
Line: 331
Message: Uncaught TypeError: Cannot read property 'elements' of null
