verstak/cmd/verstak-gui/frontend-dist
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
..
assets fix: use Svelte dispatch for verstak-link events in MarkdownPreview 2026-06-15 12:36:32 +08:00
Inter-Medium.ttf gui: port frontend to Wails v2 2026-05-31 19:39:49 +08:00
index.html fix: use Svelte dispatch for verstak-link events in MarkdownPreview 2026-06-15 12:36:32 +08:00
svelte.svg gui: port frontend to Wails v2 2026-05-31 19:39:49 +08:00
wails.png gui: port frontend to Wails v2 2026-05-31 19:39:49 +08:00