mirror of
https://github.com/moodle/moodle.git
synced 2025-08-06 17:36:38 +02:00
MDL-18910 full support for module intro editor with embedded images
This commit is contained in:
parent
26c9ecb05f
commit
b4950d9649
4 changed files with 4 additions and 22 deletions
|
@ -316,7 +316,7 @@
|
|||
if ($data->intro and empty($page) and empty($record) and $mode != 'single') {
|
||||
$options = new object();
|
||||
$options->noclean = true;
|
||||
print_box(format_text($data->intro, $data->introformat, $options), 'generalbox', 'intro');
|
||||
print_box(format_module_intro('data', $data, $cm->id), 'generalbox', 'intro');
|
||||
}
|
||||
|
||||
/// Delete any requested records
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue