FCKEditor - integration with Perl

Posted on 2007-10-04
Last Modified: 2013-12-25
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?

Question by:xfvgdrthbdtyvhgscv
    LVL 70

    Accepted Solution

    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?
    LVL 1

    Author Comment

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

    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    Join & Write a Comment

    Suggested Solutions

    A Change in PHP Behavior with Session Write Short Circuit ( (Winter 2014)** With the release of PHP 5.6 the session handler changed in a way that many think should be considered a bug.  See the note …
    Thoughout my experience working on eCommerce web applications I have seen applications succumbing to increased user demand and throughput. With increased loads the response times started to spike, which leads to user frustration and lost sales. I ha…
    This tutorial walks through the best practices in adding a local business to Google Maps including how to properly search for duplicates, marker placement, and inputing business details. Login to your Google Account, then search for "Google Mapmaker…
    This video teaches users how to migrate an existing Wordpress website to a new domain.

    728 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    20 Experts available now in Live!

    Get 1:1 Help Now