MDL-30843 editor: Fixed up out of place if
This commit is contained in:
+2
-2
@@ -354,7 +354,7 @@ class MoodleQuickForm_editor extends HTML_QuickForm_element {
|
||||
$editorrules = ' onblur="'.htmlspecialchars($this->getAttribute('onblur')).'" onchange="'.htmlspecialchars($this->getAttribute('onchange')).'"';
|
||||
}
|
||||
$str .= '<div><textarea id="'.$id.'" name="'.$elname.'[text]" rows="'.$rows.'" cols="'.$cols.'"'.$editorrules.'>';
|
||||
$str .= s($text);if (count($formats)>1) {
|
||||
$str .= s($text);
|
||||
$str .= '</textarea></div>';
|
||||
|
||||
$str .= '<div>';
|
||||
@@ -408,4 +408,4 @@ class MoodleQuickForm_editor extends HTML_QuickForm_element {
|
||||
|
||||
return '';
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user