From Code Trash
Now the FCKeditor class is available and ready to use. There are two ways to create an FCKeditor in you page:
Method 1: The inline method (preferred): Go to the body of your page, in the place you want the editor to be (usually inside a form) and place the following script:
Method 2: The TEXTAREA replacement method: In the "onload" method on your page, add the following code to replace a existing TEXTAREA in the page:
The editor is now ready to be used. Just open the page in your browser to see it at work.