You are here

function wysiwyg_epiceditor_editor in Wysiwyg 7.2

Plugin implementation of hook_editor().

File

editors/epiceditor.inc, line 11
Editor integration functions for EpicEditor.

Code

function wysiwyg_epiceditor_editor() {
  $editor['epiceditor'] = array(
    'title' => 'EpicEditor',
    'vendor url' => 'https://github.com/OscarGodson/EpicEditor',
    'download url' => 'https://github.com/OscarGodson/EpicEditor/releases/',
    'libraries' => array(
      '' => array(
        'title' => 'Minified',
        'files' => array(
          'js/epiceditor.min.js',
        ),
      ),
      'src' => array(
        'title' => 'Source',
        'files' => array(
          'js/epiceditor.js',
        ),
      ),
    ),
    'verified version range' => array(
      '0.1.1',
      '0.2.2',
    ),
    'version callback' => 'wysiwyg_epiceditor_version',
    'themes callback' => 'wysiwyg_epiceditor_themes',
    'settings form callback' => 'wysiwyg_epiceditor_settings_form',
    'settings callback' => 'wysiwyg_epiceditor_settings',
    'versions' => array(
      '0.1.1' => array(
        'js files' => array(
          'epiceditor.js',
        ),
      ),
    ),
  );
  return $editor;
}