blob: 3eb12811c6888e2fc18bd3bd89f2b0b4dd9eb603 (
plain)
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
|
<?php
/**
* TinyMCE wysiwyg editor
* @package ElggTinyMCE
* @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() {
// Load system configuration
global $CONFIG;
// Add our CSS
elgg_extend_view('css','tinymce/css');
set_view_location('embed/addcontentjs',$CONFIG->pluginspath . 'tinymce/views/');
}
// Make sure the status initialisation function is called on initialisation
register_elgg_event_handler('init','system','tinymce_init',9999);
?>
|