You are here

function wysiwyg_fckeditor_editor in Wysiwyg 5.2

Same name and namespace in other branches
  1. 5 editors/fckeditor.inc \wysiwyg_fckeditor_editor()
  2. 6.2 editors/fckeditor.inc \wysiwyg_fckeditor_editor()
  3. 6 editors/fckeditor.inc \wysiwyg_fckeditor_editor()
  4. 7.2 editors/fckeditor.inc \wysiwyg_fckeditor_editor()

Plugin implementation of hook_editor().

File

editors/fckeditor.inc, line 11
Editor integration functions for FCKeditor.

Code

function wysiwyg_fckeditor_editor() {
  $editor['fckeditor'] = array(
    'title' => 'FCKeditor',
    'vendor url' => 'http://www.fckeditor.net',
    'download url' => 'http://www.fckeditor.net/download',
    'libraries' => array(
      '' => array(
        'title' => 'Default',
        'files' => array(
          'fckeditor.js',
        ),
      ),
    ),
    'version callback' => 'wysiwyg_fckeditor_version',
    'themes callback' => 'wysiwyg_fckeditor_themes',
    'settings callback' => 'wysiwyg_fckeditor_settings',
    'plugin callback' => 'wysiwyg_fckeditor_plugins',
    'plugin settings callback' => 'wysiwyg_fckeditor_plugin_settings',
    'proxy plugin' => array(
      'drupal' => array(
        'load' => TRUE,
        'proxy' => TRUE,
      ),
    ),
    'proxy plugin settings callback' => 'wysiwyg_fckeditor_proxy_plugin_settings',
    'versions' => array(
      '2.6' => array(
        'js files' => array(
          'fckeditor-2.6.js',
        ),
      ),
    ),
  );
  return $editor;
}