function wysiwyg_whizzywig_editor in Wysiwyg 7.2
Same name and namespace in other branches
- 5.2 editors/whizzywig.inc \wysiwyg_whizzywig_editor()
- 5 editors/whizzywig.inc \wysiwyg_whizzywig_editor()
- 6.2 editors/whizzywig.inc \wysiwyg_whizzywig_editor()
- 6 editors/whizzywig.inc \wysiwyg_whizzywig_editor()
Plugin implementation of hook_editor().
File
- editors/
whizzywig.inc, line 11 - Editor integration functions for Whizzywig.
Code
function wysiwyg_whizzywig_editor() {
$editor['whizzywig'] = array(
'title' => 'Whizzywig',
'vendor url' => 'http://www.unverse.net',
'download url' => 'http://www.unverse.net/whizzywig-download.html',
'libraries' => array(
'' => array(
'title' => 'Default',
'files' => array(
'whizzywig.js',
),
),
),
'verified version range' => array(
'55',
'63',
),
'version callback' => 'wysiwyg_whizzywig_version',
'settings form callback' => 'wysiwyg_whizzywig_settings_form',
'settings callback' => 'wysiwyg_whizzywig_settings',
'plugin callback' => '_wysiwyg_whizzywig_plugins',
'versions' => array(
'55' => array(
'js files' => array(
'whizzywig.js',
),
'libraries' => array(
'' => array(
'title' => 'Default',
'files' => array(
'whizzywig.js',
'xhtml.js',
),
),
),
),
'56' => array(
'js files' => array(
'whizzywig-56.js',
),
),
'60' => array(
'js files' => array(
'whizzywig-60.js',
),
),
),
);
return $editor;
}