Try putting the editor into a div tag (or other html element like a table row) with the CSS display style set to "none", and load the content into the editor when you load the page. The editor will be in the page with the content, it'll just be hidden. Then have a link to set the display style of the div to "block" or "inline". That'll display the editor and content for you to edit.
PROBLEM: I know how to toggle the div with the "edit this" hyperlink but the problem is: how do I toggle FCKeditor's CreateHtml() function? Just putting it inside of a toggle-able <div> doesn't work ...right? Besides, how do I get the div to toggle when the user clicks the "save" button in FCKeditor?
...I've come to the conclusion that the above suggestion from grahowler simply doesn't work or it's not the intended way of implementing this functionality.
I did get this to work eventually but the problem is that the initial loading of the page is slowed-down considerably since the editor is loaded with the page -even though it will initially be invisible. There must be a better way to do this. One would think there would be documentation or at least discussion of it since it would seem to be such a common requirement (unless I'm missing something ?? ).
Re: Invoking FCKeditor on a page via an "edit this" li
Re: Invoking FCKeditor on a page via an "edit this" li
Re: Invoking FCKeditor on a page via an "edit this" li
I know how to toggle the div with the "edit this" hyperlink but the problem is: how do I toggle FCKeditor's CreateHtml() function? Just putting it inside of a toggle-able <div> doesn't work ...right? Besides, how do I get the div to toggle when the user clicks the "save" button in FCKeditor?
...I've come to the conclusion that the above suggestion from grahowler simply doesn't work or it's not the intended way of implementing this functionality.
Re: Invoking FCKeditor on a page via an "edit this" li