public function print_textarea($name, $id, $value, $rows, $cols) {
        global $OUTPUT;

        editors_head_setup();
        $editor = editors_get_preferred_editor(FORMAT_HTML);
        $editor->set_text($value);
        $editor->use_editor($id, []);

        $context = [
            'id' => $id,
            'name' => $name,
            'value' => $value,
            'rows' => $rows,
            'cols' => $cols
        ];

        return $OUTPUT->render_from_template('core_form/editor_textarea', $context);
    }