Opened 12 years ago

Closed 7 years ago

#700 closed Bug (wontfix)

Perl Integration - Assigning a text value during the editor

Reported by: anonymous Owned by:
Priority: Normal Milestone:
Component: Server : Perl Version:
Keywords: SF Cc:

Description

Can't assign a value to the editor (v.2.2) during instance from Perl code.

Sample instance:

...
FCKeditor('instance_name');
my $BasePath = $sBasePath;
my $Value = "Sample text";
my $fckedit = CreateHtml($Value);
...

The response returns an empty text field in the editor. The reason is simple - there is no value assignment to the variable $Value in the CreateHTML subroutine in "fckeditor.pl"

Now:

sub CreateHtml
{
$HtmlValue = &specialchar_cnv($Value);
$Html = '<div>' ;
..
}

Should be:

sub CreateHtml
{
$Value = shift();
$HtmlValue = &specialchar_cnv($Value);
$Html = '<div>' ;
..
}

Moved from SF:
http://sourceforge.net/tracker/index.php?func=detail&aid=1429965&group_id=75348&atid=543653

Change History (3)

comment:1 Changed 12 years ago by Martin Kou

Reporter: changed from Martin Kou to anonymous
FCKeditor('instance_name');
my $BasePath = $sBasePath;
my $Value = "Sample text";
my $fckedit = CreateHtml($Value);
...

The response returns an empty text field in the editor. The reason is simple - there is no value assignment to the variable $Value in the CreateHTML subroutine in "fckeditor.pl"

Now:

sub CreateHtml
{
$HtmlValue = &specialchar_cnv($Value);
$Html = '<div>' ;
..
}

Should be:

sub CreateHtml
{
$Value = shift();
$HtmlValue = &specialchar_cnv($Value);
$Html = '<div>' ;
..
}

Moved from SF. Original poster: Anonymous

comment:2 Changed 12 years ago by Alfonso Martínez de Lizarrondo

Component: GeneralServer : Perl

comment:3 Changed 7 years ago by Jakub Ś

Resolution: wontfix
Status: newclosed

Perl integration was only available in FCKeditor which is no longer supported.

Note: See TracTickets for help on using tickets.
© 2003 – 2019 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy