[wp-trac] [WordPress Trac] #14942: TinyMCE inserts <html xmlns=""> in IE9
WordPress Trac
wp-trac at lists.automattic.com
Thu Sep 23 17:46:19 UTC 2010
#14942: TinyMCE inserts <html xmlns=""> in IE9
---------------------------+------------------------------------------------
Reporter: andrewspittle | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: TinyMCE | Version: 3.0.1
Severity: normal | Keywords:
---------------------------+------------------------------------------------
Description changed by lloydbudd:
Old description:
> 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:
> 1. Edit an existing post in IE9
> 2. With the visual editor selected add a new line of text
> 3. Press "Update Post"
>
> The text added in step 2. will disappear once the post updates.
>
> Tested in Firefox 3.6.8 but did not occur there.
>
> IE9's debugging tool shows a JavaScript error on line 1 character 64599
> (screenshot attached).
>
> WORKAROUND
>
> Do not use the Visual Editor tab, instead edit the html directly in the
> HTML tab.
New description:
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:
1. Edit an existing post in IE9
2. With the visual editor selected add a new line of text
3. 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.
--
--
Ticket URL: <http://core.trac.wordpress.org/ticket/14942#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list