Skip to content

Commit a8b70d5

Browse files
authored
Fix for essay question using atto editor (#356)
1 parent a6a32ad commit a8b70d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

classes/question/essay.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ protected function question_survey_display($response, $descendantsdata, $blankqu
9393
$editor = editors_get_preferred_editor();
9494
$editor->use_editor($name, questionnaire_get_editor_options($this->context));
9595
$texteditor = html_writer::tag('textarea', $value,
96-
array('id' => $name, 'name' => $name, 'rows' => $rows, 'cols' => $cols));
96+
array('id' => $name, 'name' => $name, 'rows' => $rows, 'cols' => $cols, 'class'=>'form-control'));
9797
} else {
9898
$editor = FORMAT_PLAIN;
9999
$texteditor = html_writer::tag('textarea', $value,

0 commit comments

Comments
 (0)