verstak/cmd
mirivlad 2cbb2986c1 fix: use Svelte dispatch for verstak-link events in MarkdownPreview
Problem: MarkdownPreview dispatched DOM CustomEvent via link.dispatchEvent()
which doesn't propagate through Svelte's event system. The on:verstak-link
handler on <MarkdownPreview> in NoteEditorPanel only catches Svelte dispatch()
events, not DOM CustomEvents from {@html} content.

Fix: Replaced DOM CustomEvent dispatch with Svelte createEventDispatcher.
Now handleClick() in MarkdownPreview calls dispatch('verstak-link', {...})
which properly propagates through NoteEditorPanel → App.svelte chain.

Also: removed unused importInternalLink import (was unused after
InternalLinkPicker replaced the manual modal).
2026-06-15 12:36:32 +08:00
..
verstak refactor: implement template-driven node tree and human-readable vault layout 2026-06-02 12:47:06 +08:00
verstak-gui fix: use Svelte dispatch for verstak-link events in MarkdownPreview 2026-06-15 12:36:32 +08:00
verstak-server followup: SafeVaultPath in note update, email i18n, strict check-i18n.sh 2026-06-02 11:40:27 +08:00