I just started using FCKeditor. I'm trying to use it in a Smartclient app. It looks like its working but it throws a 404 error on the
/fckeditor/editor/fckeditor.html
file.
I'm not sure why its not finding it.
I'm including fckeditor.js. I've heard of something called the basePath do I need to change that to be the basePath of my FCKeditor directory? What should it be set to.
This is my relevant code:
function makeEditor()
{
var fck = new FCKeditor("myFCKeditor");
return fck.CreateHtml();
}
then I just set the results in a DIV.
Can anyone suggest what the problem is?
Thanks
/fckeditor/editor/fckeditor.html
file.
I'm not sure why its not finding it.
I'm including fckeditor.js. I've heard of something called the basePath do I need to change that to be the basePath of my FCKeditor directory? What should it be set to.
This is my relevant code:
function makeEditor()
{
var fck = new FCKeditor("myFCKeditor");
return fck.CreateHtml();
}
then I just set the results in a DIV.
Can anyone suggest what the problem is?
Thanks
Re: Brand new user
I'm also trying to integrate FCKeditor into SmartClient.
Perhaps we can collaborate on this.
Rick
Re: Brand new user
Create a canvas object and set its Contents to the fckEditor creation like so:
function makeEditor(editor)
{
fck = new FCKeditor("myFCKeditor");
fck.BasePath = "/foo/";
editor = isc.Canvas.create({ID:'Editor', autoDraw:true, width:"100%", height:"40%"});
editor.setContents(fck.CreateHtml());
Layout.addMember(editor);
}