Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't browse repositories and upload an image file #171

Open
vladaskidanovas opened this issue Aug 30, 2024 · 0 comments
Open

Can't browse repositories and upload an image file #171

vladaskidanovas opened this issue Aug 30, 2024 · 0 comments

Comments

@vladaskidanovas
Copy link

Users can't upload a file or browse repositories because the editor element is missing text field options.

image

https://moodledev.io/docs/4.4/apis/subsystems/form/usage/files#editors

The solution would be to add text field options like in the example above.

Places where the options need to be added:

$mform->addElement('editor', 'emailcontent', get_string('emailcontent', 'reengagement'), null, null);

$mform->addElement('editor', 'emailcontentmanager', get_string('emailcontentmanager', 'reengagement'), null, null);

$mform->addElement('editor', 'emailcontentthirdparty', get_string('emailcontentthirdparty', 'reengagement'), null, null);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant