-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
4.1.6, 4.2.3, 4.3
-
MOODLE_401_STABLE, MOODLE_402_STABLE, MOODLE_403_STABLE
The Tiny draft was not cleared after closing the modal.
Steps to replicate:
Create a new event with the following:
- Title: Event 1
- Description: This is draft 1
- Edit the event. Change the description to "This is draft 1 (edited)"
- Wait until the console.log said "tiny_autosave/id_description: Saving draft"
- Close the popup. Do not Save
- Click the New Event button
- Click Show more
- Verify the TinyMCE's content
Expected: The content is empty
Actual: TinyMCE still loads the previous content: This is draft 1 (edited)
It can also be reproduced in other cases, like creating a glossary, adding an entry without saving it and then, in a new tab, creating another glossary entry.