function wysiwyg_ckeditor_editor in Wysiwyg 5.2
Same name and namespace in other branches
- 6.2 editors/ckeditor.inc \wysiwyg_ckeditor_editor()
- 7.2 editors/ckeditor.inc \wysiwyg_ckeditor_editor()
Plugin implementation of hook_editor().
File
- editors/
ckeditor.inc, line 11 - Editor integration functions for CKEditor.
Code
function wysiwyg_ckeditor_editor() {
$editor['ckeditor'] = array(
'title' => 'CKEditor',
'vendor url' => 'http://ckeditor.com',
'download url' => 'http://ckeditor.com/download',
'libraries' => array(
'' => array(
'title' => 'Default',
'files' => array(
'ckeditor.js' => array(
'preprocess' => FALSE,
),
),
),
'src' => array(
'title' => 'Source',
'files' => array(
'ckeditor_source.js' => array(
'preprocess' => FALSE,
),
),
),
),
'install note callback' => 'wysiwyg_ckeditor_install_note',
'version callback' => 'wysiwyg_ckeditor_version',
'themes callback' => 'wysiwyg_ckeditor_themes',
'settings callback' => 'wysiwyg_ckeditor_settings',
'plugin callback' => 'wysiwyg_ckeditor_plugins',
'plugin settings callback' => 'wysiwyg_ckeditor_plugin_settings',
'proxy plugin' => array(
'drupal' => array(
'load' => TRUE,
'proxy' => TRUE,
),
),
'proxy plugin settings callback' => 'wysiwyg_ckeditor_proxy_plugin_settings',
'versions' => array(
'3.0.0.3665' => array(
'js files' => array(
'ckeditor-3.0.js',
),
),
),
);
return $editor;
}