/trunk/includes/classes/OIDplusGui.class.php |
---|
215,7 → 215,9 |
$out = '<script> |
tinymce.remove("#'.$name.'"); |
tinymce.EditorManager.baseURL = "3p/tinymce"; |
tinymce.init({ |
document_base_url: "'.OIDplus::getSystemUrl().'", |
selector: "#'.$name.'", |
height: 200, |
statusbar: false, |
230,7 → 232,6 |
} |
}); |
tinymce.EditorManager.baseURL = "'.OIDplus::getSystemUrl().'3p/tinymce"; |
</script>'; |
$content = htmlentities($content); // For some reason, if we want to display the text "<xyz>" in TinyMCE, we need to double-encode things! < will not be accepted, we need &lt; ... why? |