 | |  |
 |

Damon
Staff
/ Moderator

May 23, 2006, 2:40 PM
Post #1 of 2
(3920 views)
Shortcut
|
|
Fix for Internet Explorer rendering bug - third line in editor appears blank
|
Can't Post
|
|
Here are the steps to fix an Internet Explorer rendering bug the makes the third line in the WYSIWYG editor appear blank on load. Download your _interface.html template (/templates/interface/_interface.html) and find this line: // -------------------------------------------------------------------------- // code to run // -------------------------------------------------------------------------- Above it, add these lines of code so it looks like this: // -------------------------------------------------------------------------- // Function : fixDisappearedContent // Description : BUGFIX (May 23, 2006) // Internet Explorer issue: third line appears blank in editor box. // -------------------------------------------------------------------------- function fixDisappearedContent() { if (navigator.appName.indexOf('Microsoft')==-1) return; for (var i=0;i<oUtil.arrEditor.length;i++) { var wysiwyg=eval("idContent"+oUtil.arrEditor[i]); wysiwyg.document.execCommand("SelectAll", false, null); wysiwyg.document.execCommand("UnSelect", false, null); } } // -------------------------------------------------------------------------- // code to run // -------------------------------------------------------------------------- Then, update the body tag to look like this: <body bgcolor="$_ui_bgcolor$" marginwidth=0 marginheight=15 leftmargin=0 onload="fixDisappearedContent()"> Save and upload to your site. That's it. You can also download the latest version of Article Manager (which includes this updated template) here: http://www.interactivetools.com/upgrade/ Cheers Damon Edis interactivetools.com
(This post was edited by Theo on May 23, 2006, 2:56 PM)
|
|
|  |
 |

Garbracht
User
Jun 15, 2006, 2:53 AM
Post #2 of 2
(3581 views)
Shortcut
|
Re: [Damon] Fix for Internet Explorer rendering bug - third line in editor appears blank
[In reply to]
|
Can't Post
|
|
I had these line droppouts and did not know what had happened. Your bugfix solves the problem. Thanks C. Garbracht
|
|
|  |
|