Hi there,
I am working on a CMS for my employer, and we want to be able replace a DIV on a page with the FCK editor, while keeping the toolbar at the top of the page. I have accomplished this quite easily, using the ToolbarLocation configuration option.
My issue now is that I want to be able to close that editor, replacing the DIV with the contents of the editor, and then open it again, replacing a different DIV.
Here's what I've tried:
http://electrikprojects.com/fck/
Click "one", the first test div should be replaced with an editor region.
Then click "two", and the first div should return to its original state (with whatever changes you have made), and then the second div should be replaced with the editor window.
Unfortunately, it doesn't work. I get the JavaScript error:
FCK is not defined
http://electrikprojects.com/fck/fckedit ... rbutton.js
Line 52
Any ideas why this is happening? It seems like what I want to do is quite straightfoward.