I have a fresh install of moodle 1.6.3+, and the wysiwyg editor only gets shown once per page in quizzes with multiple essay questions. When I look at the source, only the first one has the javascript code:
<table class="answer"> <tr> <td> <script type="text/javascript" src="https://***/moo/lib/editor/htmlarea/htmlarea.php?id=2"></script> <script type="text/javascript" src="https://***/moo/lib/editor/htmlarea/lang/en.php"></script> <textarea id="edit-resp1_" name="resp1_" rows="18" cols="80"></textarea>
</td> </tr> <tr> <td class="feedback"> </td> </tr> </table> </div> <script language="javascript" type="text/javascript" defer="defer"> editor_e9bb8f59201c483c4e92b6d3a9fe2ce4 = new HTMLArea('edit-resp1_'); var config = editor_e9bb8f59201c483c4e92b6d3a9fe2ce4.config; config.pageStyle = "body { background-color: #ffffff; font-family: Trebuchet MS,Verdana,Arial,Helvetica,sans-serif; }"; config.killWordOnPaste = true; config.fontname = { "Trebuchet": 'Trebuchet MS,Verdana,Arial,Helvetica,sans-serif', "Arial": 'arial,helvetica,sans-serif', "Courier New": 'courier new,courier,monospace', "Georgia": 'georgia,times new roman,times,serif', "Tahoma": 'tahoma,arial,helvetica,sans-serif', "Times New Roman": 'times new roman,times,serif', "Verdana": 'verdana,arial,helvetica,sans-serif', "Impact": 'impact', "Wingdings": 'wingdings'}; editor_e9bb8f59201c483c4e92b6d3a9fe2ce4.generate();
</script>
The rest only have like:<textarea id="edit-resp2_" name="resp2_" rows="18" cols="80"></textarea>I'm in a hurry with this one, please reply asap, preferably before noon.