Allow blank answer in a rich-text-editor question #6342
-
I'd like to allow my students to submit nothing in a However, students see an 'invalid, not gradeable I suppose a better, more general way, would be to submit a PR with a parameter I know that a blank submission ( I tried this in
Rather than
Any ideas? At this point, I know I'm making this too complicated. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
You are changing the content, but not clearing the error. Try: def parse(data):
if '_files' in data['format_errors']:
del data['format_errors']['_files'] And it's probably a good idea to have an issue for adding |
Beta Was this translation helpful? Give feedback.
You are changing the content, but not clearing the error. Try:
And it's probably a good idea to have an issue for adding
allow-blank
topl-rich-text-editor
(and maybepl-file-editor
as well).