Blob URLs are session-scoped and don't survive page reloads — images would break on Cmd+Shift+R. Now uploadFile awaits save_image (which persists to vault/attachments/) and returns a convertFileSrc asset URL that the Tauri webview can resolve indefinitely. - Editor.tsx: await save_image → convertFileSrc for Tauri mode; FileReader.readAsDataURL fallback for browser dev mode - tauri.conf.json: enable assetProtocol with scope ["**"] - mock-tauri.ts: save_image returns a plausible file path - E2E test: expect data: URLs in browser dev mode Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
903 B
903 B