#2561: Converted fckeditor.pl into PERL module
-----------------------------------+----------------------------------------
Reporter: dbierer | Owner:
Type: New Feature | Status: new
Priority: Normal | Milestone: FCKeditor 2.6.4
Component: Server : Perl | Version: FCKeditor 2.6.2
Keywords: FCKeditor PERL module |
-----------------------------------+----------------------------------------
{{{
# Usage:
# 1. Put this command at the top of your PERL program:
#
# use FCKeditor;
#
# 2. Where you want to place the FCKeditor in your output,
# call FCKeditor::create() as follows:
#
# $html_string = FCKeditor::create($InstanceName,$BasePath);
#
# This will produce an HTML string which effectively
replaces
# a <textarea name=$InstanceName></textarea> field in your
form.
# Note that there are a few other parameters which you can
# specify in the create() call, noted below. Height and
# width, for example.
#
# You can then integrate this HTML code directly into your
# Output. For example:
#
# use FCKeditor;
# print 'content-type: text/html\n\n';
# print '<html><body><form method=get action="this.pl">';
# print '<p>Enter Your Message Here:</p>';
# print FCKeditor::create();
# print '<input type=submit name="OK" value="OK">';
# print '</form></body></html>';
#
# Or you could send the string to the Template module,
# depending on how you output your HTML. Your return CGI
# program will then look for a parameter "editor", which is
# the default (see $InstanceName).
<a href="http://www.unlikelysource.com/perl_demo/html_email.pl">Demo of
FCKeditor running with PERL</a>
<a href="http://www.unlikelysource.com/perl_demo/FCKeditor.pm">FCKeditor
PERL module</a>
}}}
--
Ticket URL: <http://dev.fckeditor.net/ticket/2561>
FCKeditor <http://www.fckeditor.net/>
The text editor for Internet
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
FCKeditor-Trac mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fckeditor-trac