-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathlib.php
34 lines (29 loc) · 1.53 KB
/
lib.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<?php
/**
* *************************************************************************
* * MathEditor **
* *************************************************************************
* @package tinymce **
* @subpackage matheditor **
* @name MathEditor **
* @copyright oohoo.biz **
* @link http://oohoo.biz **
* @author Raymond Wainman ([email protected]) **
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later **
* *************************************************************************
* ************************************************************************ */
defined('MOODLE_INTERNAL') || die();
class tinymce_matheditor extends editor_tinymce_plugin {
/** @var array list of buttons defined by this plugin */
protected $buttons = array('matheditor');
/**
* Adjusts TinyMCE init parameters for this plugin. Required override.
*
* @param array $params TinyMCE init parameters array
* @param context $context Context where editor is being shown
* @param array $options Options for this editor
*/
protected function update_init_params(array &$params, context $context, array $options = null) {
$this->add_js_plugin($params);
}
}