fckeditor.module

Version 1.20.2.34.2.88 (checked in on 2010/01/31 at 14:48:16 by jorrit)

FCKeditor - The text editor for Internet - http://www.fckeditor.net Copyright (C) 2003-2008 Frederico Caldeira Knabben

== BEGIN LICENSE ==

Licensed under the terms of any of the following licenses at your choice:

  • GNU General Public License Version 2 or later (the "GPL") http://www.gnu.org/licenses/gpl.html
  • GNU Lesser General Public License Version 2.1 or later (the "LGPL") http://www.gnu.org/licenses/lgpl.html
  • Mozilla Public License Version 1.1 or later (the "MPL") http://www.mozilla.org/MPL/MPL-1.1.html
== END LICENSE ==

FCKeditor Module for Drupal 6.x

This module allows Drupal to replace textarea fields with FCKeditor.

This HTML text editor brings to the web many of the powerful functionalities of known desktop editors like Word. It's really lightweight and doesn't require any kind of installation on the client computer.

Constants

NameDescription
FCKEDITOR_FORCE_SIMPLE_TOOLBAR_NAMEThe name of simplified toolbar which should be forced Be sure that this toolbar is defined in fckeditor.config.js or fckconfig.js

Globals

NameDescription
$_fckeditor_configuration
$_fckeditor_js_ids

Functions

NameDescription
fckeditor_elementsImplementation of hook_elements(). Replace textarea with FCKeditor using callback function (fckeditor_process_textarea)
fckeditor_file_downloadImplementation of hook_file_download(). Support for private downloads. FCKeditor does not implement any kind of potection on private files.
fckeditor_filter_xssAJAX callback - XSS filter
fckeditor_get_nodetype
fckeditor_helpImplementation of hook_help().
fckeditor_initImplementation of hook_init().
fckeditor_is_compatible_clientTest if client can render the FCKeditor Use built-in test method in fckeditor.php If fckeditor.php is not found, return false (probably in such case fckeditor is not installed correctly)
fckeditor_is_enabled
fckeditor_menuImplementation of hook_menu().
fckeditor_pathRead FCKeditor path from Global profile
fckeditor_path_to_theme
fckeditor_permImplementation of hook_perm(). Administer -> User management -> Permissions
fckeditor_process_form
fckeditor_process_inputAllow more than 255 chars in Allowed HTML tags textfield
fckeditor_process_textareaThis function create the HTML objects required for the FCKeditor
fckeditor_profile_loadLoad all profiles. Just load one profile if $name is passed in.
fckeditor_sorted_rolessort roles according to precedence settings. previously sorted roles are followed by latest added roles.
fckeditor_userImplementation of hook_user().
fckeditor_user_get_profile
fckeditor_user_get_setting