tinyMCE is undefined line 219
-
Since upgrading to 2.1 my RTE/WYSIWYG hasn’t been working. I’ve tried clearing the cache but to no avail. I get the same problem on other computers, and with both IE7 and FF. FF puts the error (line 219) at this:
if ( tinyMCE.isMSIE )
My problem is, this line isn’t in post-new.php, and I can’t find it at all. This is the whole paragraph:
if ( tinyMCE.isMSIE )
document.getElementById(‘title’).onkeydown = function (e)
{
e = e ? e : window.event;
if (e.keyCode == 9 && !e.shiftKey && !e.controlKey && !e.altKey) {
var i = tinyMCE.getInstanceById(‘content’);
if(typeof i == ‘undefined’)
return true;
tinyMCE.execCommand(“mceStartTyping”);
this.blur();
i.contentWindow.focus();
e.returnValue = false;
return false;
}
}Anyone know where this is, and perhaps what may be the problem? I’m at the end of my programming knowledge. I’m currently using 2.1.1. Thanks!
The topic ‘tinyMCE is undefined line 219’ is closed to new replies.