* @return external_description|null
*/
public function get_external_parameters() {
- $editorparams = array('text' => new external_value(PARAM_TEXT, 'The text for this submission.'),
+ $editorparams = array('text' => new external_value(PARAM_RAW, 'The text for this submission.'),
'format' => new external_value(PARAM_INT, 'The format for this submission'),
'itemid' => new external_value(PARAM_INT, 'The draft area id for files attached to the submission'));
$editorstructure = new external_single_structure($editorparams, 'Editor structure', VALUE_OPTIONAL);