Hello,
I wasn't able to use the perl version "out of the box".
Following code, taken from the _samples folder, doesn't work:
require '/www/html/data/openwebmail/FCKeditor/fckeditor.pl';
&FCKeditor('filecontent');
$Value=$content;
$temphtml=&CreateHtml();
It complains that I should give a package name for $Value (3rd line).
The only solution I found was to adapt fckeditor.pl to have a "setter" for Value, and replacing the 3rd line above with this:
&setValue($content);
That, indeed, does work (at least in IE, still not in Firefox). I suppose there is a better way...
I wasn't able to use the perl version "out of the box".
Following code, taken from the _samples folder, doesn't work:
require '/www/html/data/openwebmail/FCKeditor/fckeditor.pl';
&FCKeditor('filecontent');
$Value=$content;
$temphtml=&CreateHtml();
It complains that I should give a package name for $Value (3rd line).
The only solution I found was to adapt fckeditor.pl to have a "setter" for Value, and replacing the 3rd line above with this:
&setValue($content);
That, indeed, does work (at least in IE, still not in Firefox). I suppose there is a better way...