I have integrated the FCK editor into a php application that loads the FCK editor into a popup when clicking on a link.
My problem is I only want the code that builds the editor and toolbar to execute once and use that every time my popup containing the editor loads.
However, every time the popup loads, an entirely new web request is made and the FCK editor is rebuilt causing the load time to be a bit slow.
Is there anyway I can preload the toolbar and editor and use that instance multiple times and just assign a different instance name to it? Ideally, I want to be able to load the entire editor into a javascript variable, and use that every time I open the editor, so that I would be able to load the page, disconnect my computer from the internet, and still be able to build the editor. I am unsure of how to reference the existing instances of the FCK editor and assign a different name to it so one instance can be used multiple times.
Any suggestions will be appreciated.
My problem is I only want the code that builds the editor and toolbar to execute once and use that every time my popup containing the editor loads.
However, every time the popup loads, an entirely new web request is made and the FCK editor is rebuilt causing the load time to be a bit slow.
Is there anyway I can preload the toolbar and editor and use that instance multiple times and just assign a different instance name to it? Ideally, I want to be able to load the entire editor into a javascript variable, and use that every time I open the editor, so that I would be able to load the page, disconnect my computer from the internet, and still be able to build the editor. I am unsure of how to reference the existing instances of the FCK editor and assign a different name to it so one instance can be used multiple times.
Any suggestions will be appreciated.