Alrighty,
I've managed to recode some of the editor so now it works within a Lotus Notes database.
Using the standard implementation the editor loads up fine in both IE & Mozilla... but when I switched to the ReplaceTextarea method it only seems to work in IE. Any ideas?
I've managed to recode some of the editor so now it works within a Lotus Notes database.
Using the standard implementation the editor loads up fine in both IE & Mozilla... but when I switched to the ReplaceTextarea method it only seems to work in IE. Any ideas?
RE: ReplaceTextarea & Mozilla/Firefox
I've got it to work in Domino with both IE and Mozilla. What i did is basically to change the FCKeditor.prototype._GetIFrameHtml method in fckeditor.js like this:
FCKeditor.prototype._GetIFrameHtml = function()
{
// Modified to work with Domino
//var sLink = this.BasePath + 'editor/fckeditor.html?InstanceName=' + this.InstanceName ;
var sLink = this.BasePath + 'editor/fckeditor.html?OpenFileResource&InstanceName=' + this.InstanceName ;
if (this.ToolbarSet) sLink += '&Toolbar=' + this.ToolbarSet ;
return '<iframe id="' + this.InstanceName + '___Frame" src="' + sLink + '" width="' + this.Width + '" height="' + this.Height + '" frameborder="no" scrolling="no"></iframe>' ;
}
Also, there seems to be an issue regarding Mozilla/Firefox and emulating the Node.xml property. To fix this you might need to edit the FCKXHtml.GetXHTML function in the file fckeditorcode_gecko_1.js. I have posted a possible solution in the bug database [ 992063 ]: https://sourceforge.net/tracker/index.p ... tid=543653
I hope you find this usefull.