Opened 13 years ago
Closed 12 years ago
#7099 closed defect (fixed)
Dialog: RichText doesn't work in a dialog in IE7 Standards Mode
Reported by: | guest | Owned by: | liucougar |
---|---|---|---|
Priority: | high | Milestone: | 1.2 |
Component: | Editor | Version: | 1.1.1 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
In IE 7 in standards mode (page with correct DOCTYPE header) then the rich text editor component does not work in dialogs. The attached HTML exhibits different behaviours in IE 7 when the DOCTYPE header is removed.
Because some javascript doesn't work in quirks mode it is essential for my application to have standards mode enabled, meaning this is high priority.
It works in IE 6 in both standards and quirks modes.
Attachments (2)
Change History (9)
Changed 13 years ago by
Attachment: | EditorTest.htm added |
---|
comment:1 Changed 13 years ago by
Component: | Dijit → Editor |
---|---|
Owner: | set to liucougar |
Priority: | high → normal |
severity: | critical → normal |
comment:2 Changed 13 years ago by
Milestone: | → tbd |
---|
mark all (open) tickets w/blank milestones to be "tbd"; their milestones need to be set to a version number or to "future"
comment:3 Changed 12 years ago by
I've just encountered this same problem, and have the same constraints as liucougar. Also tested the same code in FF2, FF3, IE6 and Safari 3 and it's fine in all. Urgent for me too.
comment:4 Changed 12 years ago by
I still get the same problem with 1.2.0b2 (using a div), so I examined the editor using DebugBar?, and it emerges that the IFRAME is zero-width, despite all the attributes appearing correct. By setting
if (dojo.isIE > 7) dojo.byId("text_iframe").style.width = '200px';
just after the dlg.show() I was able to edit. Don't know if this still affects IE8.
comment:5 Changed 12 years ago by
Hmm, I tried EditorTest?-trunk.htm attached above on IE7, against beta2. Except for a problem of two scroll bars it seems OK.
comment:6 Changed 12 years ago by
sorry - I uploaded the testcase but forgot to comment -- I tried this in trunk and it appears to be working. I got some kind of error when using a <textarea> with no rows="" and cols="", but when changed to <div> + style="width:n em;" it seemed to work just fine in both standards and quirks mode.
comment:7 Changed 12 years ago by
Milestone: | tbd → 1.2 |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Summary: | RichText doesn't work in a dialog in IE7 Standards Mode → Dialog: RichText doesn't work in a dialog in IE7 Standards Mode |
OK, yeah, then as I suspected this is due to / fixed by #5669.
Simple example illustrating the problem