Opened 9 years ago
Last modified 9 years ago
#14367 confirmed Bug
Dropdown open empty after moving CKEditor toolbar using shared spaces
Reported by: | Mike Kuenzi | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | General | Version: | 4.0 |
Keywords: | Cc: |
Description
Steps to reproduce
- Extract attached zip file, open test.html
- Notice the drop downs work.
- Click Move CK Editor
- The toolbar moves, and now the drop downs open empty
Expected result
Dropdowns should open with content after the toolbar is moved
Actual result
Dropdowns open but appear blank
Other details (browser, OS, CKEditor version, installed plugins)
Tested in IE and Chrome using the latest CKEditor 4.5.6 with the shared spaces plugin installed.
Attachments (1)
Change History (2)
Changed 9 years ago by
Attachment: | dropdownsbreakonelementmove.zip added |
---|
comment:1 Changed 9 years ago by
Component: | UI : Toolbar → General |
---|---|
Keywords: | dropdown removed |
Status: | new → confirmed |
Version: | 4.5.6 → 4.0 |
Please see:
http://stackoverflow.com/questions/8318264/how-to-move-an-iframe-in-the-dom-without-losing-its-state http://www.codingforums.com/dom-and-json-scripting/111002-appendchild-clears-iframe-contents-firefox.html
It seems that iframe contents are removed/not copied whenever you change location of that iframe in DOM. I'm not talking about changing position in document but about detaching/attaching iframe from/to different DOM elements.
CKEditor could "onOpen" check if body is empty (it is in that case) and re-initialize dropdown with values.