how to make the atto editor content wider in a multiplechoice qtype

Re: how to make the atto editor content wider in a multiplechoice qtype

by Miki Alliel -
Number of replies: 0
Picture of Translators

I've succeed to solve it by adding the number 3 (it can be anything else too) here :


question/type/multichoice/edit_multichoice_form.php

around row 70:

 $repeated[] = $mform->createElement('editor', 'answer',

               $label, array('rows' => 3), $this->editoroptions);

.......
......

$repeated[] = $mform->createElement('editor', 'feedback',

               get_string('feedback', 'question'), array('rows' => 3), $this->editoroptions);




Average of ratings: Useful (1)