mirror of
https://github.com/storytold/wordcraft.git
synced 2026-11-18 00:15:44 +00:00
Opening note.txt, typing, saving with Ctrl+S and closing still asked "Do you want to save changes to note.txt?". Save in that prompt wrote the file but left the window open, and only Don't Save closed it. file.save marked the document saved only for formats that keep everything (.docx, .odt, .rtf...). A save in any other format counted as a copy, even over the file the document was opened from, so a .txt or .md document could never become clean. The Save Changes prompt then treated its own Save as "not saved" and cancelled the close. A save over the document's own file now marks it saved in any format. Save As to plain text, Markdown or a page image elsewhere is still a copy that leaves the document unsaved, as before. AutoSave still covers only the formats that keep everything. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>