Opened 11 years ago

Closed 11 years ago

#13047 closed defect (wontfix)

Clicking on Create link button make the selected text miss highlighting on ie8

Reported by: hengly Owned by:
Priority: high Milestone: tbd
Component: Editor Version: 1.5
Keywords: dojo, editor, highlight Cc:
Blocked By: Blocking:




2.Selecting a page word,it will be in highlighted

3.Clicking the create link button

Expected: The selected text is still in highlight state when the pop up window appear. Got: The selected text will miss highlight when the dialogue of Create link and Insert image pop up. (see screenshot)

It can reproduce on windows 7 ie8

Attachments (2)

before clicking the create link.png (55.1 KB) - added by hengly 11 years ago.
after clicking the create link.png (54.7 KB) - added by hengly 11 years ago.

Download all attachments as: .zip

Change History (3)

Changed 11 years ago by hengly

Changed 11 years ago by hengly

comment:1 Changed 11 years ago by Jared Jurkiewicz

Resolution: wontfix
Status: newclosed

This is expected IE behavior. When IE transfers focus out of an iframe, all selections/display of selections are gone. The Editor catches the focus change and records the selection data before IE clears it, but that's the limit of what can be done. When focus is restored to the editor (the dialog closed), the editor will restore the selections.

This is a limitation of IE's selection/Iframe model. Nothing we can do. Other editors, such as FCK and TinyMCE have the same issue.

Note: See TracTickets for help on using tickets.