[Building Sakai] Adding wyswig editor to JSP form
Paul Mungai
paulwando at gmail.com
Tue Sep 20 00:32:39 PDT 2011
Its worked.
One also needs to add these scripts on the header section;
<script type="text/javascript" language="JavaScript"
src="/library/editor/FCKeditor/fckeditor.js"></script>
<script type="text/javascript" language="JavaScript"
src="/library/editor/fckeditor.launch.js"></script>
Unfortunately, there is no documentation that the search engine could lead
to, that explains this.
On Tue, Sep 20, 2011 at 9:28 AM, Paul Mungai <paulwando at gmail.com> wrote:
> Kindly advise on what scripts I need to add to load the editor on a text
> area.
>
> I have added this script on the body section after the textarea whose name
> & id is cdesc
>
> <script type="text/javascript" defer="1">sakai.editor.launch('cdesc', {
> height: 650, width: 400 });</script>
>
> --
> Regards,
> Paul Mungai
>
> "Ability is what youre capable of doing. Motivation determines what you do.
> Attitude determines how well you do it" By Lou Holtz, Notre Dame Football
> Coach
>
--
Regards,
Paul Mungai
"Ability is what youre capable of doing. Motivation determines what you do.
Attitude determines how well you do it" By Lou Holtz, Notre Dame Football
Coach
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20110920/f854d39b/attachment.html
More information about the sakai-dev
mailing list