10
Oops, wrong thinking, sorry!
The code should like this in initcode:
le="color: #000000"><?php echo '<script language="javascript" type="text/javascript" src="'.XOOPS_URL.'/modules/tinyeditor/editor/'.$tinyededitor_load.'"></script>'; [color=33FF33]echo "function myCustomSaveContent(element_id, html, body) {"; echo "html = html.replace(/modules/system/,'');"; echo "return html;"; echo "}";[/color]
AND:
le="color: #000000"><?php echo '<script language="javascript" type="text/javascript">'; echo 'tinyMCE.init({'; echo 'mode : "textareas",'; echo 'editor_selector : "mceEditor",'; echo 'theme : "advanced",'; echo 'language : "'.$moduleConfig['tinyedlang'].'",'; [color=33FF33]echo 'save_callback : "myCustomSaveContent",';[/color]