Multiple configs/inits

This example shows how to setup multiple editors on the same page and with different configs.

HTML source

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",
	editor_selector : "mceSimple"
});

tinyMCE.init({
	mode : "textareas",
	theme : "advanced",
	editor_selector : "mceAdvanced"
});
</script>

<form method="post" action="somepage">
	<textarea name="content1" class="mceSimple" style="width:100%">
	</textarea>
	<textarea name="content2" class="mceAdvanced" style="width:100%">
	</textarea>
</form>