Opened 3 years ago

Last modified 3 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

  1. Extract attached zip file, open test.html
  2. Notice the drop downs work.
  3. Click Move CK Editor
  4. 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)

dropdownsbreakonelementmove.zip (2.7 MB) - added by Mike Kuenzi 3 years ago.

Change History (2)

Changed 3 years ago by Mike Kuenzi

comment:1 Changed 3 years ago by Jakub Ś

Component: UI : ToolbarGeneral
Keywords: dropdown removed
Status: newconfirmed
Version: 4.5.64.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.

Note: See TracTickets for help on using tickets.
© 2003 – 2019 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy