verstak/frontend
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
..
bindings/github.com/wailsapp/wails/v3/internal gui: add Wails v3 desktop app skeleton 2026-05-31 15:45:52 +08:00
public chore: move app icons into frontend assets 2026-06-05 12:25:47 +08:00
src fix: use Svelte dispatch for verstak-link events in MarkdownPreview 2026-06-15 12:36:32 +08:00
Inter Font License.txt gui: add Wails v3 desktop app skeleton 2026-05-31 15:45:52 +08:00
index.html chore: move app icons into frontend assets 2026-06-05 12:25:47 +08:00
package-lock.json fix: stabilize markdown notes — internal link modal, rename UI, trash integration 2026-06-15 09:19:26 +08:00
package.json fix: stabilize markdown notes — internal link modal, rename UI, trash integration 2026-06-15 09:19:26 +08:00
tsconfig.json gui: add Wails v3 desktop app skeleton 2026-05-31 15:45:52 +08:00
vite.config.js gui: complete Wails v2 vertical MVP — fixes, search, polished UI 2026-05-31 23:48:38 +08:00