zackaryw_obsidian-image-inline/docs
ZackaryW 058141efad feat!: code overhaul
Refactor editor and batch workflows for better performance, reliability, and observability.

- Editor: collapse inline data URLs using viewport-scoped decoration building (only scan visibleRanges) and a compact widget; move detection into pure helpers for easier testing.
- Cursor escape: replace polling with selectionchange and editor-change events and extract cursor/link bound helpers to src/coms/cursorEscapeHelpers.ts.
- Batch convert/export: add scoped debug/warn/error logging, prepare deterministic replacement lists, and apply updates via the active editor when open or vault.process when closed to keep editor state in sync.
- Export modal: accept ArrayBuffer for binary exports and improve duplicate-skip logic.
- Docs/tests: rewrite README to reflect current features and add focused Node-based tests for antiLinkExpand and cursor escape helpers.
- Tooling: bump plugin version to 4.0.0 and upgrade TypeScript/toolchain entries (package.json/package-lock.json, tsconfig updates).

These changes target performance (avoid full-document scans), correctness (atomic editor/vault updates), and developer experience (structured logs and testable helpers).
2026-04-30 18:01:02 -07:00
..
banner.png feat!: code overhaul 2026-04-30 18:01:02 -07:00