Good Morning,
does anyone know how to change the standard html editor against an ordenary textarea for user profile fields in both, registration process and editing the profile?
I managed to do so by changing define.class.php and field.class.php in /user/profile/field/textarea from
$mform->addElement('editor', $this->inputname, format_string($this->field->name), null, null);
to
$form->addElement('textarea', 'defaultdata', get_string('profiledefaultdata', 'admin'), 'wrap="virtual" rows="6" cols="100"');
but then when editing the profile the content from the database is not inserted into the textarea. works fine if I change it back though.
any ideas and experiences?
I don't want an ordenary user or a guest using the texteditor as I need to have plain text without any format in my database.