Hello all,
I have an application using FCKeditor in which individual pages within the application are loaded via ajax into an editing page - within which there are 3 instances of FCKeditor being invoked (via a jquery plugin - $('#sContent,#sContent2,#sSummary').fck({path: '../fckeditor/',height: 200,toolbar:'Ramosus'});).
As the whole editing page is loaded by ajax, FCKeditor is initiated each time a new page is loaded.
Under "normal" operations, this all works brilliantly, but when users flick from one page to another, things go awry and the FCKeditor ceases to load - I just get a white, 200px deep blank space instead of the normal toolbar + textarea.
I'm guessing - I'm a FCKeditor newbie - that the editor is not being probably loaded on one page before the user clicks to load another page. Certainly, when I look in the source code of my application, there can be several frames of each textarea (i.e. sContent,sContent2,sSummary) loaded (i.e. fckeditor.html?InstanceName=sContent etc).
Apart asking users to wait until a page is properly loaded before moving to another one, are there any more practical solutions. Can I "flush" FCKeditor out of memory or wherever before loading it when a new page is called.
I hope I've drawn a clear enough picture for someone to provide me with help.
Thanks,
Bruce
I have an application using FCKeditor in which individual pages within the application are loaded via ajax into an editing page - within which there are 3 instances of FCKeditor being invoked (via a jquery plugin - $('#sContent,#sContent2,#sSummary').fck({path: '../fckeditor/',height: 200,toolbar:'Ramosus'});).
As the whole editing page is loaded by ajax, FCKeditor is initiated each time a new page is loaded.
Under "normal" operations, this all works brilliantly, but when users flick from one page to another, things go awry and the FCKeditor ceases to load - I just get a white, 200px deep blank space instead of the normal toolbar + textarea.
I'm guessing - I'm a FCKeditor newbie - that the editor is not being probably loaded on one page before the user clicks to load another page. Certainly, when I look in the source code of my application, there can be several frames of each textarea (i.e. sContent,sContent2,sSummary) loaded (i.e. fckeditor.html?InstanceName=sContent etc).
Apart asking users to wait until a page is properly loaded before moving to another one, are there any more practical solutions. Can I "flush" FCKeditor out of memory or wherever before loading it when a new page is called.
I hope I've drawn a clear enough picture for someone to provide me with help.
Thanks,
Bruce