You are here

function wysiwyg_fckeditor_editor in Wysiwyg 7.2

Same name and namespace in other branches
  1. 5.2 editors/fckeditor.inc \wysiwyg_fckeditor_editor()
  2. 5 editors/fckeditor.inc \wysiwyg_fckeditor_editor()
  3. 6.2 editors/fckeditor.inc \wysiwyg_fckeditor_editor()
  4. 6 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' => 'https://www.fckeditor.net',
    'download url' => 'https://www.fckeditor.net/download',
    'libraries' => array(
      '' => array(
        'title' => 'Default',
        'files' => array(
          'fckeditor.js',
        ),
      ),
    ),
    'verified version range' => array(
      '2.6.0',
      '2.6.11',
    ),
    'version callback' => 'wysiwyg_fckeditor_version',
    'themes callback' => 'wysiwyg_fckeditor_themes',
    'settings form callback' => 'wysiwyg_fckeditor_settings_form',
    'settings callback' => 'wysiwyg_fckeditor_settings',
    'plugin callback' => '_wysiwyg_fckeditor_plugins',
    'plugin meta callback' => '_wysiwyg_fckeditor_plugin_meta',
    '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;
}