FCKEditor Example
Note about this demo
Because this demo uses IFrames, and createPopupWindow() in the browser, it must be hosted locally, so you either need to (1) run it on this twiki as opposed to your own website, since the JSLoader libraries are all here, or 2, replicate the hierarchy on your webserver.
Usage
// In ONE script block
JSLoader.load("ria","fckeditor","2.5");
// In a separate SCRIPT block
var oFCKeditor = new FCKeditor( 'text1' ) ;
// We need to set the base path for
// oFCKeditor to find its assets
// in our “version” file, we make sure
// to define this, so all we need to do
// here is reference it
oFCKeditor.BasePath = JSLoader.getEnv("FCKEDITOR_BASE");
oFCKeditor.Height = 300 ;
oFCKeditor.Value = '';
oFCKeditor.Create() ;
The editor...