Opened 10 years ago
Closed 10 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: |
Description
Steps:
1.Visiting http://demos.dojotoolkit.org/demos/editor/
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)
Change History (3)
Changed 10 years ago by
Attachment: | before clicking the create link.png added |
---|
Changed 10 years ago by
Attachment: | after clicking the create link.png added |
---|
comment:1 Changed 10 years ago by
Resolution: | → wontfix |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
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.