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
Blank submitted answer is confusing for pl-file-editor #9806
Comments
For pl-file-editor the typical use is that you can add to the bottom of your question.html:
|
If you want to see a formatted preview of your markdown submission instead, you can use: <pl-submission-panel>
<pl-xss-safe submitted-file-name="set1.md" language="markdown"></pl-xss-safe>
</pl-submission-panel> |
I'll do that in the future; thanks! For folks who do not use this though, I wonder if one of the three options above might be a better default than a blank box? Most other elements show some representation of the submitted answer by default rather than a blank box. |
@mwest1066 can probably talk to this further, but I believe changing this now may affect a lot of courses that rely on the current behavior. |
I agree that the current behavior is not good, and that we really should have some kind of default submission display. The backward compatibility problem that @jonatanschroeder mentions is definitely a problem, however. @nwalters512 tagging you in on this in case you've got any good ideas. |
As shown above, when you click Save on a pl-file-editor element, the "Submitted answer" at the bottom of the page is blank. I know from a handful of emails and CBTF incident reports that students sometimes believe this means their answer did not save correctly. Perhaps instead, either the box should show 1) the text of the saved answer, 2) the "Preview" of the saved answer, or 3) a message like "Your answer was saved."
The text was updated successfully, but these errors were encountered: