aboutsummaryrefslogtreecommitdiff
path: root/mod/tinymce/start.php
blob: 6a79524d72f0432d36249b912b5025ef7aa8a9c6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<?php
/**
 * TinyMCE wysiwyg editor
 *
 * @package TinyMCE
 * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU Public License version 2
 * @author Curverider Ltd
 * @copyright Curverider Ltd 2008-2010
 * @link http://elgg.org/
 **/

function tinymce_init() {
	global $CONFIG;

	elgg_extend_view('css', 'tinymce/css');
	elgg_extend_view('embed/custom_insert_js', 'tinymce/embed_custom_insert_js');
}

register_elgg_event_handler('init', 'system', 'tinymce_init', 9999);