I have an automatically generated text area (using the Erlang Web infrastructure) that looks like this:
<span class="form_input">
<textarea id="question_text" class="tinymce" name="question_text"> </textarea>
</span>
I am trying to apply the TinyMCE editor to it, but the following happens:
http://img24.imageshack.us/img24/9250/tinyt.jpg
So, my text box is not replaced, but it is "embedded" in RTE. I initialize TinyMCE as follows:
<script type="text/javascript">
tinyMCE.init({
mode : "specific_textareas",
editor_selector : "tinymce"
});
</script>
Any clues?
source
share