Update : Wordpress rich text editor disappeared?
Posted on 2007-11-27 16:03:14
I've done some thorough research as to why the rich text editor disappears in Firefox specifically (other browsers such as Safari & IE are fine) once any of the Tribulant Wordpress plugins have been activated.
All the plugins make use of the Prototype framework and the Scriptaculous library. These are JavaScript classes provided by Wordpress itself, allowing us to use its powerful Ajax/JavaScript features.
There is a conflict between TinyMCE and the Scriptaculous library. You'll see a Javascript error in your browser's console saying :
realTinyMCE not defined
Right now, I'm not going to post all the details, but rather provide you with a quick fix so that you can get your editor back.
Open the file named "scriptaculous.js" located inside "/wp-includes/js/scriptaculous/". You can open this with Notepad, Coda, Textedit, Textmate or whichever you prefer. With the file open, go to the last line in the file, which should be line #59. You'll see a piece of code that looks like this :
Scriptaculous.load();
Comment that line out by putting two (2) forward slashes before it. In other words, your code should look like this when you are done :
//Scriptaculous.load();
Reupload the file to the "/wp-includes/js/scriptaculous/" folder, then clear your browser cache and restart your browser before you attempt to access the Wordpress post/page writing section.
Tada! That will do it! I hope that this comes in handy. Let me know if you need any assistance.
Customer Login
RE : Update : Wordpress rich text editor disappearing?
Posted by Joelle on 2007-11-28 16:10:04
This worked like a charm. Thank you for posting this. :)
RE : Update : Wordpress rich text editor disappearing?
Posted by Antonie on 2007-11-29 11:34:36
@ joelle
Its a pleasure. I'm glad to hear that it helped you. Hopefully we'll have a more appropriate solution in the near future. Keep checking the blog for updates.
RE : Update : Wordpress rich text editor disappearing?
Posted by Rafael on 2007-11-29 14:04:51
It worked! I had found the scriptaculous problem, but I did not think about editing the js.
RE : Update : Wordpress rich text editor disappearing?
Posted by Mart on 2007-11-30 11:38:10
Worked without a problem! TY!