WordPress’ TinyMCE Popup Width In Firefox
I’m surprised there isn’t much about this online.. although I admit my search wasn’t very comprehensive
Anyway, for a while now I’ve been a bit annoyed with the TinyMCE editor in WordPress.. for example, when you click the “Insert/edit link” button on the toolbar, a popup window is launched which proceeds to resize itself to be a less than useful width

Apparently according to one of the developers of TinyMCE in this thread, it’s down to Firefox using the status bar width when it shouldn’t
Anyway, the fix is as follows:
Just after the statements below in tiny_mce_popup.js
// Netscape 7.1 workaround
if (this.isWindow && tinyMCE.isNS71) {
window.resizeBy(0, 10);
return;
}
Add the following:
// Gecko workaround
if (this.isWindow && tinyMCE.isGecko) {
window.resizeBy(20, 10);
return;
}
That seems to work alright and resize the window to a useable width!
September 12th, 2006 at 2:54 pm
Found this by accident whilst searching for sth else, but still needing this handy workaround due to some clients at work asking to fix it
tnx!
September 29th, 2006 at 12:32 pm
For some reason this doesn’t work for me.
The window opens at a reasonable size and then automatically shrinks to an unamanagable as soon as its finished loading.
any ideas?
September 29th, 2006 at 1:16 pm
The pre-modified javascript is probably still cached - you should clear the browser cache and try again after making the modifications above
December 17th, 2006 at 12:33 am
Thanks, this helped me a lot.
January 20th, 2007 at 2:38 pm
Hi mark,
How’s it going? Long time no speak.
Fantastic to solved this problem.
Keep up the good work!
March 9th, 2007 at 4:34 am
[...] influenced dot net » Blog Archive » WordPress’ TinyMCE Popup Width In Firefox firefoxã§tinyMCEã§é–‹ã„ãŸå°çª“ã®ã‚µã‚¤ã‚ºãŒãŠã‹ã—ã„ã®ã‚’ç›´ã™ãƒ’ント。 (tags: tinymce wysiwyg tips) [...]
April 16th, 2007 at 1:40 pm
YESSSS THANKS A LOT
It’s work fine for me !
Thank’s for help !
June 16th, 2008 at 6:55 pm
Work for me after I cleared the browser cache as suggested by Mark. Thanks for the tip