Opened 11 years ago

Closed 11 years ago

#11214 closed Bug (invalid)

Focusing not work when CKEditor deep in frame in IE6, IE8

Reported by: xt21 Owned by:
Priority: Normal Milestone:
Component: General Version:
Keywords: Cc:

Description

  1. put the attached files in samples directory
  2. start IE8 and open frame0.html
  3. highlight the text, for e.g. 456 in top frame and control-c to copy
  4. double click a word in second paragraph in the editor to highlight a word (mouse drag to select some text also has this issue) (Note, don't single click on editor or elsewhere after step3
  5. control-v to paste

Expected to replace the selected word with clipboard 456, but the text is inserted in the beginning.

Attachments (5)

frame0.html (118 bytes) - added by xt21 11 years ago.
frame1.html (53 bytes) - added by xt21 11 years ago.
frame2.html (126 bytes) - added by xt21 11 years ago.
frame3.html (6 bytes) - added by xt21 11 years ago.
iframe0.html (843 bytes) - added by Jakub Ś 11 years ago.

Download all attachments as: .zip

Change History (7)

Changed 11 years ago by xt21

Attachment: frame0.html added

Changed 11 years ago by xt21

Attachment: frame1.html added

Changed 11 years ago by xt21

Attachment: frame2.html added

Changed 11 years ago by xt21

Attachment: frame3.html added

comment:1 Changed 11 years ago by xt21

FCKEditor 2.6.10 also has this similar problem. But the behavior is more strange, control-v in step 5 will paste to the readonly textbox in the top frame.

comment:2 Changed 11 years ago by Jakub Ś

Keywords: frame removed
Resolution: invalid
Status: newclosed
Version: 4.3.1 (GitHub - master)

I think there are couple of errors here that cumulate.

  1. frameset is not supported in HTML5 -http://www.w3schools.com/tags/tag_frameset.asp. You should not use frames but rather one single page or iframes instead
  2. Pages have only frameset code. There is no doctype, no title which is invalid HTML and puts IE into quirks mode.

Please see attached sample which uses iframe, has doctype and IMO is correct and works.

NOTE: CKEditor 4 doesn't support IE6

Changed 11 years ago by Jakub Ś

Attachment: iframe0.html added
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