#18102 closed defect (bug) (wontfix)
IE8 and wp_tiny_mce has broken Link button
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Milestone: | Priority: | normal | |
| Severity: | normal | Version: | 3.2 |
| Component: | TinyMCE | Keywords: | |
| Focuses: | Cc: |
Description
With IE8 and custom-generated WYSIWYG editors created with wp_tiny_mce, the link button doesn't work correctly. What happens is quite interesting:
On the first click, the Add/Edit dialog link box appears full sized, but empty.
Dismissing the box and clicking the link button again will give you just the Add/Edit link dialog box's title, but not even a box.
Dismissing that box and clicking on it a third time will finally generate an Add/Edit link form in the dialog box, but it won't be functional.
As far as I can tell, there are no JavaScript errors displayed.
This works correctly in Chrome, FireFox, and IE9. The problem only exists in IE8 as far as I can tell. I tested on 3.2 and 3.2.1
The issue occurs with a default theme, but not with all plugins disabled (because plugins are required to create such a WYSIWYG box). The issue does NOT exist on the default post/page add/edit screens. Examples of plugins affected are WYSIWYG Widgets (http://wordpress.org/extend/plugins/wysiwyg-widgets/) and Rich Text Tags (http://wordpress.org/extend/plugins/rich-text-tags/), although I discovered the issue while developing my own plugin.
I also put together a bare-bones plugin to help verify the issue in case that helps (see the new menu item in Settings):
http://dl.dropbox.com/u/5148765/lems_wysiwyg_test.php (requires WP 3.2+)
While it's possible that the real problem is how we're calling wp_tiny_mce (and I certainly apologize if that's the case), all 3 of us developers have run into this issue independently.
Let me know if you need any more info!
See #17144, direct use of wp_tiny_mce() will be deprecated there.