From 7829d5d7c33f47bd3ffc1f64d33889cbf2426f4b Mon Sep 17 00:00:00 2001 From: Eric Merrill Date: Mon, 1 Jul 2013 09:44:26 -0400 Subject: [PATCH] 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. --- course/moodleform_mod.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/course/moodleform_mod.php b/course/moodleform_mod.php index 1cf3b8f26d4..5c9e91c03b5 100644 --- a/course/moodleform_mod.php +++ b/course/moodleform_mod.php @@ -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) {