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>/tinymce/tinymce.min.js"></script>
<script type="text/javascript">
tinymce.init({
selector: "textarea",
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>