Opened 3 years ago
Closed 2 years ago
#14942 closed defect (bug) (fixed)
TinyMCE inserts <html xmlns=""> in IE9
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Priority: | normal | Milestone: | 3.1 |
| Component: | TinyMCE | Version: | 3.0.1 |
| Severity: | normal | Keywords: | |
| Cc: | andrewspittle |
Description (last modified by lloydbudd)
In IE9 TinyMCE inserts a <html xmlns=""> at the beginning of a post. This causes any text that is entered to disappear after pressing "Update Post"
ENV: WP 3.0.1 / IE beta 9.0.7930.16406 on
To reproduce:
- Edit an existing post in IE9
- With the visual editor selected add a new line of text
- Press "Update Post"
The text added in step 2. will disappear once the post updates.
Console in IE9's a JavaScript error on line 1 character 64599 (screenshot also attached).
SCRIPT438: Object doesn't support this property or method tiny mce.js?ver=327-1235-syntaxhighlighter2.3.9, line 1 character 64599
The highlighted bit of JS is:
return h.item?h.item(0):h.parentElement()
Workaround
Do not use the Visual Editor tab, instead edit the html directly in the HTML tab.
Additional Details
Tested in Firefox 3.6.8 but did not occur there.
Attachments (1)
Change History (8)
andrewspittle — 3 years ago
Replying to nacin:
Needs to be reported upstream to both TinyMCE and IE9.
Matt shared with me the link http://tinymce.moxiecode.com/punbb/viewtopic.php?pid=80665 , so it seems TinyMCE are aware of related issues.
I think Toni of Automatttic is following up with Microsoft.
- Owner set to azaozz
- Status changed from new to assigned
- Resolution set to fixed
- Status changed from assigned to closed
Just tested with:
- IE 9 Beta 9.0.7930.16406
- IE 9 Platform Preview 7 1.9.8023.6000
The issue still exists in WP 3.0.2.
The issue appears to be fixed in WP 3.1 latest trunk (r16723).
Closing as fixed accordingly.

Needs to be reported upstream to both TinyMCE and IE9.