bueditor.inc in elFinder file manager 6
Same filename and directory in other branches
BUEditor integration plugin
File
editors/bueditor/bueditor.incView source
<?php
// $Id$
/**
* @file
* BUEditor integration plugin
*/
/**
* Pseudo-hook for elfinder hook_wysiwyg_plugin implementation
*/
function elfinder_bueditor_elfinder_editor_plugin($options) {
drupal_add_js(array(
'elfinder' => array(
'moduleUrl' => url('elfinder'),
),
), 'setting');
drupal_add_js(array(
'elfinder' => array(
'moduleUrl' => url('elfinder'),
),
), 'setting');
drupal_add_js($options['plugin_url_base'] . '/bueditor.js');
return array(
'elfinder' => array(
'extensions' => array(
'elfinder' => t('elFinder'),
),
'url' => $options['homepage_url'],
'options' => array(),
'load' => FALSE,
),
);
}
Functions
Name | Description |
---|---|
elfinder_bueditor_elfinder_editor_plugin | Pseudo-hook for elfinder hook_wysiwyg_plugin implementation |