Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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.
  • Loading branch information...
commit 74d5fbac0412c1f34066d59d5915f04169ab9ebb 1 parent 32e550a
@merrill-oakland merrill-oakland authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  course/moodleform_mod.php
View
2  course/moodleform_mod.php
@@ -811,7 +811,7 @@ function add_intro_editor($required=false, $customlabel=null) {
$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) {
Please sign in to comment.
Something went wrong with that request. Please try again.