Opened 12 years ago

Closed 12 years ago

#8221 closed Bug (duplicate)

IE: Selection bug when opening dialog on certain content

Reported by: Damian Owned by:
Priority: Normal Milestone:
Component: Core : Selection Version:
Keywords: IBM Cc: Satya Minnekanti


There seems to be some odd behavior when opening a dialog in the editor without having focused inside the content area. The bug can manifest itself by deleting the HEAD element of the parent document. The loss of the parent document HEAD element does not occur usually on the nightly samples but does occur consistently in our application environment. My suspicion is that this is just due to some odd timeout order being fired as I have seen the issue occur in a nightly sample when stepping through the code with a debugger.

To reproduce:

  1. Open the AJAX sample
  2. Set the data like (the div is important):
      <p>Test Paragraph</p>
      <p>Test Paragraph</p>
      <p>Test Paragraph</p>
  3. Go back to WYSIWYG mode and press "Remove Editor"
  4. Press "Create Editor"
  5. Open the Find dialog from the toolbar, without focusing inside the editor body.

Expected Result: The dialog appears normally.

Actual Result: Although the dialog appears normally, an indication of the selection bug is visible. The Paragraph Format combo will indicate "Heading 1" as selected, this is in fact referring to the sample page heading! This erroneous value for Paragraph Format may seem insignificant, but it is related to our HEAD element being lost.

In addition, you can see that the 'data-cke-bookmark' span is appended to the H1 element at the top of the page.

This is a serious issue as the document outside the editor is being adversely affected.

Change History (1)

comment:1 Changed 12 years ago by Damian

Resolution: duplicate
Status: newclosed

Oops, submitted this ticket twice. Actual ticket for tracking this issue is #8222.

Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy