function wysiwyg_wymeditor_editor in Wysiwyg 6.2
Same name and namespace in other branches
- 5.2 editors/wymeditor.inc \wysiwyg_wymeditor_editor()
- 7.2 editors/wymeditor.inc \wysiwyg_wymeditor_editor()
Plugin implementation of hook_editor().
File
- editors/
wymeditor.inc, line 11 - Editor integration functions for WYMeditor.
Code
function wysiwyg_wymeditor_editor() {
$editor['wymeditor'] = array(
'title' => 'WYMeditor',
'vendor url' => 'https://wymeditor.github.io/wymeditor/',
'download url' => 'https://github.com/wymeditor/wymeditor/releases',
'libraries' => array(
'min' => array(
'title' => 'Minified',
'files' => array(
'jquery.wymeditor.min.js',
),
),
'src' => array(
'title' => 'Source',
'files' => array(
'jquery.wymeditor.js',
),
),
),
'verified version range' => array(
'0.5',
'1.1.1',
),
'version callback' => 'wysiwyg_wymeditor_version',
'themes callback' => 'wysiwyg_wymeditor_themes',
'settings form callback' => 'wysiwyg_wymeditor_settings_form',
'settings callback' => 'wysiwyg_wymeditor_settings',
'plugin callback' => '_wysiwyg_wymeditor_plugins',
'versions' => array(
'0.5-rc1' => array(
'js files' => array(
'wymeditor.js',
),
),
'1.0.0a1' => array(
'js files' => array(
'wymeditor-1.js',
),
'css files' => array(
'wymeditor.css',
),
),
),
);
return $editor;
}