function wysiwyg_fckeditor_editor in Wysiwyg 5
Same name and namespace in other branches
- 5.2 editors/fckeditor.inc \wysiwyg_fckeditor_editor()
- 6.2 editors/fckeditor.inc \wysiwyg_fckeditor_editor()
- 6 editors/fckeditor.inc \wysiwyg_fckeditor_editor()
- 7.2 editors/fckeditor.inc \wysiwyg_fckeditor_editor()
Plugin implementation of hook_editor().
File
- editors/
fckeditor.inc, line 12 - Editor integration functions for FCKeditor.
Code
function wysiwyg_fckeditor_editor() {
$editor = array();
$editor['fckeditor'] = array(
'title' => 'FCKeditor',
'vendor url' => 'http://www.fckeditor.net',
'download url' => 'http://www.fckeditor.net/download',
'library path' => wysiwyg_get_path('fckeditor'),
'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',
'versions' => array(
2.6 => array(
'js files' => array(
'fckeditor-2.6.js',
),
),
),
);
return $editor;
}