il codice lo puoi vedere su www.sun-telefonia.it/textareapro/readme.html

cmq eccolo qua


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>

<head>
<title>WYSIWYG Editor 1.0</title>

<script language="Javascript1.2">
//Directory must end with a '/'
//Examples:
// AK_editor_url = "TextAreaPro/";

AK_editor_url = "TextAreaPro/test.htm";
document.write('<scr' + 'ipt src="' + AK_editor_url+ 'wysiwyg.js" language="Javascript1.2"></scr' + 'ipt>');
</script>
</head>

<body text="#000000" bgcolor="#FFFFFF">
<form>
<textarea cols="90" rows="20" name="TextArea">
<font size="+1" color="#0000ff">TESTING</font> <<<<<<<<<<<<<<<<<<<<<<<<<< Default Text
</textarea>
<script language="JavaScript">
//comment any button that you want to hide
var AK_DisplayedButtons = Array(
'FontName',
'FontSize',
'SelectAll',
'Delete',
'Cut',
'Copy',
'Paste',
'SaveAs',
'Print',
'Separator',
'Bold',
'Italic',
'Underline',
'Strikethrough',
'Separator',
'JustifyLeft',
'JustifyCenter',
'JustifyRight',
'JustifyFull',
'Separator',
'InsertOrderedList',
'InsertUnorderedList',
'Outdent',
'Indent',
'Separator',
'SuperScript',
'SubScript',
'Separator',
'InsertHorizontalRule',
'CreateLink',
'Unlink',
'Image',
'Table',
'SpecialChars',
'Separator',
'Forecolor',
//'Backcolor',
'Separator',
//'Date',
'ChangeMode',
'Separator',
'Help' //the last one has NO comma
);
var AK_width = 600;
var AK_height = 300;

// All fields are optional. Place "null" where you don't want to specify.
//ak_wysiwyg_generator(width, height, "TextAreaName", DisplayedButtonList);
ak_wysiwyg_generator(AK_width, AK_height, "TextArea", AK_DisplayedButtons);

//Examples:
// ak_wysiwyg_generator(null, null, "MyTextAreaName", AK_DisplayedButtons);
// ak_wysiwyg_generator(AK_width, AK_height, null, AK_DisplayedButtons);
// ak_wysiwyg_generator(AK_width, AK_height, "MyTextAreaName", null);

// It can be no parameter at all
// ak_wysiwyg_generator();
</script>

<input type="Submit">
</form>
<form name="form1" method="post" action="">
<textarea name="textarea"></textarea>
</form>


</p>
</body>
</html>