diff --git a/contentbank/contenttype/h5p/classes/form/editor.php b/contentbank/contenttype/h5p/classes/form/editor.php index 768a1c2c833..7ac641be0ab 100644 --- a/contentbank/contenttype/h5p/classes/form/editor.php +++ b/contentbank/contenttype/h5p/classes/form/editor.php @@ -69,6 +69,8 @@ class editor extends edit_content { $this->h5peditor = new h5peditor(); + $this->set_display_vertical(); + if ($id) { // The H5P editor needs the H5P content id (h5p table). $record = $DB->get_record('contentbank_content', ['id' => $id]); diff --git a/contentbank/edit.php b/contentbank/edit.php index 6d0c58d9643..353483fa745 100644 --- a/contentbank/edit.php +++ b/contentbank/edit.php @@ -89,6 +89,7 @@ $PAGE->set_url(new \moodle_url('/contentbank/edit.php', $values)); $PAGE->set_context($context); $PAGE->navbar->add(get_string('edit')); $PAGE->set_title($title); +$PAGE->set_pagelayout('incourse'); $PAGE->set_heading($heading); diff --git a/contentbank/templates/bankcontent.mustache b/contentbank/templates/bankcontent.mustache index 5002708d414..e3c11d0ce9a 100644 --- a/contentbank/templates/bankcontent.mustache +++ b/contentbank/templates/bankcontent.mustache @@ -102,19 +102,17 @@