Some others are asking about this, so I checked.
Remove everything in includes/javascript.php related to tinyMCE. In version 8.0, I found this:
Code:if (file_exists("themes/".$ThemeSel."/style/editor.css")) {
$edtcss = "editor_css : \"themes/".$ThemeSel."/style/editor.css\",";
} else {
$edtcss = "editor_css : \"includes/tiny_mce/themes/default/editor_ui.css\",";
}
if ($nuke_editor == 1) {
if (is_admin($admin) AND $name != "Private_Messages" AND $name != "Forums" AND !defined('NO_EDITOR')) {
echo "<tinyMCE>
<script></script>
<script>
tinyMCE.init({
mode : \"textareas\",
theme : \"basic\",
language : \"$lang\",
$edtcss
force_p_newlines: \"false\",
force_br_newlines: \"true\"
});
</script>
</tinyMCE>";
} elseif ($name != "Private_Messages" AND $name != "Forums" AND !defined('NO_EDITOR')) {
echo "<tinyMCE>
<script></script>
<script>
tinyMCE.init({
mode : \"textareas\",
theme : \"default\",
language : \"$lang\",
$edtcss
force_p_newlines: \"false\",
force_br_newlines: \"true\"
});
</script>
</tinyMCE>";
}
}
|
Your mileage may vary depending on the distribution you have of PHP-Nuke, but it appears that the changes are all in javascript.php.