this.getDoc() is null in FF using tinymce
javascript, rte, tinymce
Solution
happened to me when i upgraded jquery..
to resolve it just upgrade jquery to the latest version and also tinymce to the latest version..
i have found other solution for this problem while searching the net.. try to remove the filemanager,imagemanager form plugin list. When it is not set up properly it may cause some issues.
Problem
I got the problem that when i load my page i immediatly receive the error : `this.getDoc() is null` The function `getBody()` of `Editor.js` gets called and the document seems to be not available ``` getBody : function() { return this.bodyElement || this.getDoc().body; }, ``` In this case getBody() has been triggered by the destroy() function in a gecko code block. ``` destroy : function(s) { var t = this; // One time is enough if (t.destroyed) return; // We must unbind on Gecko since it would otherwise produce the pesky "attempt to run compile-and-go script on a cleared scope" message if (isGecko) { Event.unbind(t.getDoc()); Event.unbind(t.getWin()); Event.unbind(t.getBody()); // here is the relevant getBody() call } ``` Destroy has been triggered by the function addUnload of tinymce.js ``` o.func.call(o.scope, 1); ``` What can i do to avoid this problem?