You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using tip tap in sveltekit and I have a couple of custom extensions that render svelte components inside of tip tap, I am doing this by using the svelte component constructor to instantiate the inner elements.
Opening links this way navigate the current page and also opens a new tab to the page
How do I get links from these manually constructed elements to use the sveltekit router to prevent the navigation funkiness?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I am using tip tap in sveltekit and I have a couple of custom extensions that render svelte components inside of tip tap, I am doing this by using the svelte component constructor to instantiate the inner elements.
Opening links this way navigate the current page and also opens a new tab to the page
How do I get links from these manually constructed elements to use the sveltekit router to prevent the navigation funkiness?
if you want to see the code, taskItemOverview is the issue
https://github.com/odama626/tasks/blob/main/src/lib/editor/extensions/taskItem.ts
Screen.Recording.2023-07-09.at.12.46.18.PM.mov
Beta Was this translation helpful? Give feedback.
All reactions