Steps to replicate the issue (include links if applicable):
- Edit a page with syntax highlighting or code editor on
- Modify the content
- Close the tab without saving the changes
- Reopen the tab
- Click "Discard changes"
What happens?:
Nothing.
What should have happened instead?:
The changes are discarded. That is, clicking "Show changes" shows "(No difference)".
Other information:
The restoration of the content should use jquery.textSelection.
QA Results - Beta
AC | Status | Details |
---|---|---|
1 | β | https://phabricator.wikimedia.org/T353616 here |