I create lots of tinymce with django:
<script type="text/javascript" src="{{ STATIC_PREFIX }}js/tiny_mce/tiny_mce.js"
</script>
<script type="text/javascript" src="{{ STATIC_PREFIX }}js/tiny_mce/tiny_init.js"
</script>
<script type="text/javascript">
tinyMCE.settings = configArray[1];
tinyMCE.execCommand('mceAddControl', true, "tobs");
</script>
{% for obs in obss %}
<div id="obs">
DateTime:<samp>{{ obs.date }}</samp><br>
Description: <br>
<textarea id="tobs" class="ro">{{ obs.description }}</textarea><br>
{% for f in obs.content %}
File:
<a href=Observations/{{f}} title="download file">
<script>
get_name("{{f}}")
</script>
</a><br>
{% endfor %}
Author:<samp>{{ obs.user }}</samp><br>
Type:<samp>{{ obs.category }}</samp><br><br>
</div>
{% empty %}
<br>Sorry, no observations in DataBase.
{% endfor %}
But problem is thet only first textarea is getting my settings from configArray[1] and looks like tinymce, second and third are just simple textarea with no tinymce settings.
How can I change whis?