Hi,
I am trying trying to integrate FCKEditor into my prodcuct, Tersus (https://www.tersus.org ).
I am running into the following problem: After creating an editor by calling "ReplaceTextarea", my application may replace the content of the containing page (without reloading it or going to another URL). When this happens the FCKEditor disappears (the expected behavior), but after that I can't create a new editor - I am getting the error "FCKTools is not defined".
I have looked for a way to "cleanly" close the editor, assuming that would help. Is there way to acheive that? Any other ideas will of course be welcome.
Thanks,
Youval
Fri, 03/17/2006 - 14:34
#1
RE: "Cleanly" closing an FCKEditor
__FCKeditorNS = null;
It helps, but it looks like "over-cleaning" (not just the editor that was closed but all the FCKEditor stuff).
Is this really the best approach?
RE: "Cleanly" closing an FCKEditor
Maybe the FCKeditor's event handlers are unhooked in "window.unload" (which is never called in this situation)?