function wysiwyg_markitup_editor in Wysiwyg 5.2
Same name and namespace in other branches
- 5 editors/markitup.inc \wysiwyg_markitup_editor()
- 6.2 editors/markitup.inc \wysiwyg_markitup_editor()
- 6 editors/markitup.inc \wysiwyg_markitup_editor()
- 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' => 'http://markitup.jaysalvat.com',
'download url' => 'http://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',
),
),
),
'version callback' => 'wysiwyg_markitup_version',
'themes callback' => 'wysiwyg_markitup_themes',
'settings callback' => 'wysiwyg_markitup_settings',
'plugin callback' => 'wysiwyg_markitup_plugins',
'versions' => array(
'1.1.5' => array(
'js files' => array(
'markitup.js',
),
),
),
);
return $editor;
}