You are here

function wysiwyg_markitup_editor in Wysiwyg 6.2

Same name and namespace in other branches
  1. 5.2 editors/markitup.inc \wysiwyg_markitup_editor()
  2. 5 editors/markitup.inc \wysiwyg_markitup_editor()
  3. 6 editors/markitup.inc \wysiwyg_markitup_editor()
  4. 7.2 editors/markitup.inc \wysiwyg_markitup_editor()

Plugin implementation of hook_editor().

File

editors/markitup.inc, line 11
Editor integration functions for markItUp.

Code

function wysiwyg_markitup_editor() {
  $editor['markitup'] = array(
    'title' => 'markItUp',
    'vendor url' => 'https://markitup.jaysalvat.com',
    'download url' => 'https://markitup.jaysalvat.com/downloads',
    'library path' => wysiwyg_get_path('markitup'),
    'libraries' => array(
      '' => array(
        'title' => 'Source',
        'files' => array(
          'markitup/jquery.markitup.js',
        ),
      ),
      'pack' => array(
        'title' => 'Packed',
        'files' => array(
          'markitup/jquery.markitup.pack.js',
        ),
      ),
    ),
    'install note callback' => 'wysiwyg_markitup_install_note',
    'verified version range' => array(
      '1.1.5',
      '1.1.14',
    ),
    'version callback' => 'wysiwyg_markitup_version',
    'themes callback' => 'wysiwyg_markitup_themes',
    'settings form callback' => 'wysiwyg_markitup_settings_form',
    'settings callback' => 'wysiwyg_markitup_settings',
    'plugin callback' => '_wysiwyg_markitup_plugins',
    'versions' => array(
      '1.1.5' => array(
        'js files' => array(
          'markitup.js',
        ),
      ),
    ),
  );
  return $editor;
}