2007-02-09, 08:03 PM
Chris Boulton Wrote:Or you could always get my pretty version of TinyMCE from http://www.surfionline.com/archives/2007...-get-some/
However - you need to be extremely careful with allowing HTML in your forums. Though we've done a lot to combat script execution with HTML turned on there is still possibly other ways scripts can be executed to perform XSS and such as well as the possibility of users breaking your layout by using malformed tags.
Dear Chris , I Downloaded your recommended version of Tiny mmce . While adding the code to codebuttons template , replaced the the link to the js file as mydomain/timymce/surfi_tinymce.js but still nothing is shown while editing /posting .
- I have enabled HTML in all forums
contents of codebutton Template:
<script language="javascript" type="text/javascript" src="http://www.freewebworld.xsishost.com/FreeWebWorld/tinymce/surfi_tinymce.js"></script>
<script language="javascript" type="text/javascript">
tinyMCE.init({
mode : "textareas"
});
</script>
<!--<script type="text/javascript" src="jscripts/editor.js?ver=121"></script>
<script type="text/javascript">
{$editor_language}
var clickableEditor = new messageEditor("message", {lang: editor_language, rtl: {$lang->settings['rtl']}});
clickableEditor.bindSmilieInserter("clickable_smilies");
</script>-->
[ u May use the guest Section to test ]