Opened 15 years ago

Closed 12 years ago

#2561 closed New Feature (invalid)

Converted into PERL module

Reported by: Doug Bierer Owned by:
Priority: Normal Milestone:
Component: Server : Perl Version: FCKeditor 2.6.2
Keywords: HasPatch Cc: alexchorny@…

Description (last modified by Frederico Caldeira Knabben)

#  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="">';

#		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="">Demo of FCKeditor running with PERL</a>
<a href="">FCKeditor PERL module</a>

Attachments (2) (5.6 KB) - added by Doug Bierer 15 years ago. (5.5 KB) - added by Alexandr Ciornii 15 years ago.
modified module

Download all attachments as: .zip

Change History (6)

Changed 15 years ago by Doug Bierer

Attachment: added

comment:1 Changed 15 years ago by Artur Formella

Keywords: HasPatch added; FCKeditor PERL module removed

comment:2 Changed 15 years ago by Frederico Caldeira Knabben

Description: modified (diff)
Milestone: FCKeditor 2.6.4

Changed 15 years ago by Alexandr Ciornii

Attachment: added

modified module

comment:3 Changed 15 years ago by Alexandr Ciornii

Cc: alexchorny@… added

I modified to be more near to modern Perl. It still does not pass Perl::Critic check, but is much better.

File attached.

comment:4 Changed 12 years ago by Jakub Ś

Resolution: invalid
Status: newclosed

FCKeditor was retired and is no longer supported. All active development was moved to its successor, CKEditor 3.x, that is a fully mature and far superior product. We recommend you upgrade as soon as possible.

Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy