function wysiwyg_whizzywig_editor in Wysiwyg 5
Same name and namespace in other branches
- 5.2 editors/whizzywig.inc \wysiwyg_whizzywig_editor()
- 6.2 editors/whizzywig.inc \wysiwyg_whizzywig_editor()
- 6 editors/whizzywig.inc \wysiwyg_whizzywig_editor()
- 7.2 editors/whizzywig.inc \wysiwyg_whizzywig_editor()
Plugin implementation of hook_editor().
File
- editors/
whizzywig.inc, line 7
Code
function wysiwyg_whizzywig_editor() {
$editor = array();
$editor['whizzywig'] = array(
'title' => 'Whizzywig',
'vendor url' => 'http://www.unverse.net',
'download url' => 'http://www.unverse.net/whizzywig-download.html',
'library path' => wysiwyg_get_path('whizzywig'),
'libraries' => array(
'' => array(
'title' => 'Default',
'files' => array(
'whizzywig.js',
'xhtml.js',
),
),
),
'version callback' => 'wysiwyg_whizzywig_version',
'settings callback' => 'wysiwyg_whizzywig_settings',
'plugin callback' => 'wysiwyg_whizzywig_plugins',
'versions' => array(
'55' => array(
'js files' => array(
'whizzywig.js',
),
),
),
);
return $editor;
}