Bug fixes
- Fixed intermittent image resizing not activating after opening or switching between Markdown notes/tabs.
- The resize listeners now reattach on
file-openandactive-leaf-changeinstead of relying only onlayout-change. - This should remove the need to manually switch notes or toggle Reading/Live Preview mode before drag/scroll resizing works.
- The resize listeners now reattach on
- Improved cleanup for image resize handles and view-scoped DOM listeners when the plugin unloads or the active Markdown view changes.
Reliability
- Added regression coverage for delayed Markdown view attachment and active-leaf changes, so resize listeners stay attached to the current note.
- Verified against
plugin-testing-vaultwith the previously failing tab-switch scenario.
other
- Cleaned up TypeScript initialization diagnostics in
main.ts. - Migrated TypeScript module resolution config away from deprecated
baseUrl/nodesettings for TypeScript 6 compatibility.
Full Changelog: 1.4.3...1.4.4