Get your own copy
Don't hesitate! Just download and test it all by yourself for free!
This example shows you how to use the extended_valid_elements option. This option enables you to specify valid elements and attributes.
Below is all you need to setup the example.
<script type="text/javascript" src="<your installation path>/tiny_mce/tiny_mce.js"></script>
<script type="text/javascript">
tinyMCE.init({
mode : "textareas",
theme : "simple",
extended_valid_elements : "img[class=myclass|!src|border:0|alt|title|width|height]",
invalid_elements : "strong,b,em,i"
});
</script>
<form method="post" action="somepage">
<textarea id="content" name="content" cols="85" rows="10"></textarea>
</form>