Opened 10 years ago
Last modified 9 years ago
#13620 confirmed Bug
insertElement and insertHtml fail if widget is first in editor (Chrome) — at Initial Version
Reported by: | Brandon | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | General | Version: | 4.3 |
Keywords: | Webkit | Cc: |
Description
Steps to reproduce
(Simple demo attached)
- In Chrome, load editor with only a widget in it (or at least have a widget as first thing in the editor).
- Without selecting an insert point in the editor, try using insertHtml or insertElement.
Expected result
The HTML should be inserted before the widget.
Actual result
Fails with error "Uncaught TypeError: Cannot read property 'checkReadOnly' of undefined"
Other details (browser, OS, CKEditor version, installed plugins)
Chrome 44.0.2403.125 | Windows 10/8.1 | CKE 4.5.1 | Plugins: Widget / Enhanced Image (any plugin that uses widget will do)
Demo of Problem