You are here

function wysiwyg_openwysiwyg_editor in Wysiwyg 5.2

Plugin implementation of hook_editor().

File

editors/openwysiwyg.inc, line 11
Editor integration functions for openWYSIWYG.

Code

function wysiwyg_openwysiwyg_editor() {
  $editor['openwysiwyg'] = array(
    'title' => 'openWYSIWYG',
    'vendor url' => 'http://www.openwebware.com',
    'download url' => 'http://www.openwebware.com/download.shtml',
    'library path' => wysiwyg_get_path('openwysiwyg') . '/scripts',
    'libraries' => array(
      'src' => array(
        'title' => 'Source',
        'files' => array(
          'wysiwyg.js',
        ),
      ),
    ),
    'version callback' => 'wysiwyg_openwysiwyg_version',
    'themes callback' => 'wysiwyg_openwysiwyg_themes',
    'settings callback' => 'wysiwyg_openwysiwyg_settings',
    'plugin callback' => 'wysiwyg_openwysiwyg_plugins',
    'versions' => array(
      '1.4.7' => array(
        'js files' => array(
          'openwysiwyg.js',
        ),
        'css files' => array(
          'openwysiwyg.css',
        ),
      ),
    ),
  );
  return $editor;
}