Dirty model is cleared when closing without save
Open
bug
custom-editors
markdown-editor
- Dominant language
- TypeScript
- Stars
- 193k
- Forks
- 42.4k
- PR merge metrics
- PR metrics pending
Description
Testing #326540
1. Create a markdown doc
2. Open it in Agents window (hybrid editor)
3. Make a change
4. Try to close it without saving
The dialog pops up asking you to save the file, but dirty mode is already cleared, if you press Cancel the file is no longer dirty.
Contributor guide
Assessment
This issue has not been assessed yet.