Hi,
In short, I want to embed FCKeditor as part of a customized mozilla distribution. FCKeditor launches via a special toolbar button in my mozilla. The button launches an HTML file which contains:
...
<script type="text/javascript" src="chrome://dimi/content/fckeditor/fckeditor.js"></script>
...
<script type="text/javascript">
var oFCKeditor = new FCKeditor("FCKeditor1");
oFCKeditor.BasePath = "chrome://dimi/content/fckeditor/";
oFCKeditor.Height = "450";
oFCKeditor.Create();
</script>
....
Now, the above works as planned. I can see the editor and its toolbar and it works as normal... except for one thing. All FCKeditor dialogs appear as blank windows. So, for example, clicking the Table button in the FCKeditor toolbar brings up a tiny blank window. The FCKeditor files are all there.
My guess is that oFCKeditor.BasePath cannot be a "chrome://" URL, but I'm not sure where and what to change to fix this.
Any ideas?
TIA,
Dimi
In short, I want to embed FCKeditor as part of a customized mozilla distribution. FCKeditor launches via a special toolbar button in my mozilla. The button launches an HTML file which contains:
...
<script type="text/javascript" src="chrome://dimi/content/fckeditor/fckeditor.js"></script>
...
<script type="text/javascript">
var oFCKeditor = new FCKeditor("FCKeditor1");
oFCKeditor.BasePath = "chrome://dimi/content/fckeditor/";
oFCKeditor.Height = "450";
oFCKeditor.Create();
</script>
....
Now, the above works as planned. I can see the editor and its toolbar and it works as normal... except for one thing. All FCKeditor dialogs appear as blank windows. So, for example, clicking the Table button in the FCKeditor toolbar brings up a tiny blank window. The FCKeditor files are all there.
My guess is that oFCKeditor.BasePath cannot be a "chrome://" URL, but I'm not sure where and what to change to fix this.
Any ideas?
TIA,
Dimi