Main
Index
Search
Posts
Who's
Online
Log
In

Home: Discontinued/Classic Products: Article Manager 1:
Fix for Internet Explorer rendering bug - third line in editor appears blank

 

 


Damon
Staff / Moderator


May 23, 2006, 2:40 PM

Post #1 of 2 (8163 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
 // -------------------------------------------------------------------------- 
// code to run
// --------------------------------------------------------------------------


Above it, add these lines of code so it looks like this:


Code
   

// --------------------------------------------------------------------------
// 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:


Code
 <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

Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/

(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 (7824 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