Page MenuHomePhabricator

Formula edits should be discarded if the dialog is cancelled
Closed, ResolvedPublic1 Estimated Story Points

Description

If a formula is edited in the math dialog, then the cancel button is clicked, the edits are currently not discarded, meaning that when the dialog is reopened the old, cancelled edits are still there.

Mentioned here: https://en.wikipedia.org/w/index.php?title=Wikipedia%3AVisualEditor%2FFeedback&type=revision&diff=695260742&oldid=695259058

Event Timeline

Tchanders claimed this task.
Tchanders raised the priority of this task from to Needs Triage.
Tchanders updated the task description. (Show Details)
Tchanders added a project: VisualEditor.
Tchanders subscribed.

Change 259253 had a related patch set uploaded (by Esanders):
ExtensionPreviewDialog: Use a deep copy when preparing sub-doc for editing

https://gerrit.wikimedia.org/r/259253

Change 259253 merged by jenkins-bot:
ExtensionPreviewDialog: Use a deep copy when preparing sub-doc for editing

https://gerrit.wikimedia.org/r/259253