Files
md-preview/assets/page
Richard Wu 6565352ab5 fix(editor): track dirty changes after the first autosave
CodeMirror 5 change handlers receive (instance, changeObj). The handler named the first argument change, so once the fold gutter populated __mdpFenceCache it threw on change.from.line before setDirty(true). Edits after the first autosave stayed clean: Ctrl+S and Ctrl+E skipped saving and the preview stayed stale. Use the correct signature, return early for remote setValue, and guard the cache update. Add a page regression test.
2026-11-11 14:19:16 +08:00
..