I have a problem with links with the visual editor:
- for my editors, when they are editing a teaser on a website which is linked, I want them to be able to click the teaser and start editing the content. However as the the teaser has an actual nuxt-link, when they click the browser navigates away, which is not helpful at all.
- as a developer, I still want to make sure the link works correct in the preview mode
What I tried:
- Checking for query parameter _storyblok and disable links. This works, but it has the disadvantage that in the preview the links also won’t work
- Trying out pingEditor and isInEditor but this doesnt seem to work with nuxt and $storybridge or $storyapi. There is a $storybridge.proxy.inEditor but this seems to be not available on the server side?