Link to home
Start Free TrialLog in
Avatar of xfvgdrthbdtyvhgscv
xfvgdrthbdtyvhgscv

asked on

FCKEditor - integration with Perl

Hello all,

I'd like to sue the javascript-ased web editor FCKEditor on a wesite - but I'm having trouble with integration.

Specifically, how to use it to edit an existing page.

In their samples, I see the javascript where the HTML top be edited gets inserted: oFCKeditor.Value      = "text here";

But I can't get it to work for anything bt the most trivial exmaples.  If I try to paste in multiple lines of HTML, it crashes because the javascript doesn't recognize multi-line declaration of a string.

Ideally, what I want is to have a Perl server-side script pull the html file to be edited, pull the FCKEditor template, insert the html into the oFCKeditor.Value line, and spit out an editor pane ready to go.  But if you can't insert multipe lines of html, I'm stumped  It's not reasonable to image squashing the pages into single lines.

What am I not understanding?

Thanks
ASKER CERTIFIED SOLUTION
Avatar of Jason C. Levine
Jason C. Levine
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of xfvgdrthbdtyvhgscv
xfvgdrthbdtyvhgscv

ASKER

Actaully I eventually figured it out.  But awarded the points to what looks like may be my only resource for future FCKEditor questions!