You are here

function wysiwyg_whizzywig_editor in Wysiwyg 6

Same name and namespace in other branches
  1. 5.2 editors/whizzywig.inc \wysiwyg_whizzywig_editor()
  2. 5 editors/whizzywig.inc \wysiwyg_whizzywig_editor()
  3. 6.2 editors/whizzywig.inc \wysiwyg_whizzywig_editor()
  4. 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;
}