In firefox (tested 1.5/2.0) I am having a problem with the editor. On the first load the editor will generally work correctly. Subsequent refreshes result in the editor area being completely blank and sometimes I receive the following javascript error:
FCKTools is not defined source: editor/js/fckeditorcode_gecko.js line: 21
Found in the following function:
If I clear the cache and refresh, the editor will display correctly and then resume having problems on subsequent refreshes.
Anyone have an idea what could cause this?
FCKTools is not defined source: editor/js/fckeditorcode_gecko.js line: 21
Found in the following function:
function FCKeditorAPI_FunctionQueue_Remove(func) { var aQueue = this.Functions; var i = 0, fFunc; while ((fFunc = aQueue[i])) { if (fFunc == func) { aQueue.splice(i, 1); } i++; } this.StartNext(); }
If I clear the cache and refresh, the editor will display correctly and then resume having problems on subsequent refreshes.
Anyone have an idea what could cause this?
Re: Firefox - Dynamic Iframe Creation Conflict
I use ajax, and js instancing of FCKeditor is done on when OK (HTML) response is handled (flushed into div.innerHTML) from server, like:
On the top of all that I have linked fckeditor.js (html head element).
Thanks for any suggestion, if I come around one, I'll post it.
Re: Firefox - Dynamic Iframe Creation Conflict
It's funny, strange and ambiguous, yet it works. What i did is following (actually by typing mistake, instead of guessing basepath with ../ i typed only one dot - like ./, don't ask):
in code i posted, i added one line:
Line added is *** = wonder that recreated fck iframe here.
Also I downloaded latest fckeditor version, although that didn't seem to be solution, since i refreshed cache prior this upper trick.
Hope this helps, like it helped me = i am closing the subject.
Cheers.
Re: Firefox - Dynamic Iframe Creation Conflict