MDL-40412 course Expanding the height of module description fields.
Expanding the default height of mod descriptions to 10, which gives you 3 real lines once TinyMCE Loads.
This commit is contained in:
@@ -820,7 +820,7 @@ abstract class moodleform_mod extends moodleform {
|
||||
$mform = $this->_form;
|
||||
$label = is_null($customlabel) ? get_string('moduleintro') : $customlabel;
|
||||
|
||||
$mform->addElement('editor', 'introeditor', $label, array('rows' => 3), array('maxfiles' => EDITOR_UNLIMITED_FILES,
|
||||
$mform->addElement('editor', 'introeditor', $label, array('rows' => 10), array('maxfiles' => EDITOR_UNLIMITED_FILES,
|
||||
'noclean' => true, 'context' => $this->context, 'collapsed' => true));
|
||||
$mform->setType('introeditor', PARAM_RAW); // no XSS prevention here, users must be trusted
|
||||
if ($required) {
|
||||
|
||||
Reference in New Issue
Block a user