Skip to content

0.10.1 - Fix edit loops (hot reload + external .md edits)

Choose a tag to compare

@caaatto caaatto released this 17 May 10:08
· 7 commits to main since this release

Fixes two distinct endless-edit-loop bugs.

  • After updating the plugin (BRAT hot reload), the old instance left
    its editor binding alive next to the new one, and the two pumped
    every edit through the server endlessly. The plugin now strips its
    editor extension on unload and serializes editor binding.

  • Editing a note's .md file externally while it was open in Obsidian
    made the editor reload as a full-document rewrite, which cannot
    merge with the server's copy and duplicated the note (multiplied by
    every offline edit). External edits are now folded in as a minimal
    diff that merges cleanly.

NOTE: the hot-reload fix only takes effect from 0.10.1 onward - after
installing this update, restart Obsidian once cleanly.