JavaScript

This website contains links to software which is either no longer maintained or will be supported only until the end of 2019 (CKFinder 2). For the latest documentation about current CKSource projects, including software like CKEditor 4/CKEditor 5, CKFinder 3, Cloud Services, Letters, Accessibility Checker, please visit the new documentation website.

If you look for an information about very old versions of CKEditor, FCKeditor and CKFinder check also the CKEditor forum, which was closed in 2015. If not, please head to StackOverflow for support.

It might be valuable to show how to use jQuery to replace all textareas with class="fckeditor", I did it like this:

jQuery(document).ready(function()
{
  jQuery("textarea.fckeditor").each(function()
  {
    var fck = new FCKeditor(this.id);
    fck.ReplaceTextarea();
  });
});

Then my html looks like:

<html>
  <head>
    <script src='../js/jquery.min.js' type='text/javascript'></script>
    <script src="/library/editor/FCKeditor/fckeditor.js" type="text/javascript"></script>
    <script src='../js/fck-inserter.js' type='text/javascript'></script>
  </head>
  <body>
    <form action="something" method="post">
      <textarea id='myFCKeditor' name='myFCKeditor' class='fckeditor' cols="60" rows="15"></textarea>
      <input type="submit" value="Save">
    </form>
  </body>
</html>

A see also API would be nice towards the bottom of this page

See Also : FckEditor API

This page was last edited on 22 June 2008, at 23:13.