Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 576
  • Last Modified:

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
0
xfvgdrthbdtyvhgscv
Asked:
xfvgdrthbdtyvhgscv
1 Solution
 
Jason C. LevineNo oneCommented:
Hi xfvgdrthbdtyvhgscv,

The basic fckEditor integration is pretty straightfoward.  Which version are you using?

Could you post the script portions of the page where the editor is being called?
0
 
xfvgdrthbdtyvhgscvAuthor Commented:
Actaully I eventually figured it out.  But awarded the points to what looks like may be my only resource for future FCKEditor questions!
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now