mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
MDL-19580 cleanup of require css and js filepicker code
This commit is contained in:
parent
b14e77c966
commit
ff5fe31160
14 changed files with 169 additions and 121 deletions
|
@ -4991,6 +4991,7 @@ function print_textarea($usehtmleditor, $rows, $cols, $width, $height, $name, $v
|
|||
}
|
||||
|
||||
if ($usehtmleditor) {
|
||||
editors_head_setup();
|
||||
$editor = get_preferred_texteditor(FORMAT_HTML);
|
||||
$editor->use_editor($id, array('legacy'=>true));
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue