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

StudentQuiz: The comment/reply input field still displays the entered… #510

Merged
merged 1 commit into from
Nov 6, 2024

Conversation

BruceGoodGuy
Copy link
Contributor

@BruceGoodGuy BruceGoodGuy commented Nov 6, 2024

Hi @AnupamaSarjoshi ,

After investigating, I found that the issue is related to the Auto Save feature in TinyEditor. Since the comment editor's ID stays the same after a user creates a comment, the draft content is automatically retrieved each time, leading to this issue.

To fix this, I used the removeAutosaveSession method (available in TinyEditor) to clear the draft content whenever a user successfully adds a comment.

Could you please review this update?

… text after the user submits a comment/reply with Tiny Editor #83658
@AnupamaSarjoshi AnupamaSarjoshi merged commit 7ae0f90 into studentquiz:main Nov 6, 2024
3 checks passed
@AnupamaSarjoshi
Copy link
Contributor

Thanks @BruceGoodGuy for working on this issue. The changes look good to me and merged upstream.

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

Successfully merging this pull request may close these issues.

2 participants