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
Here you should have a console message because of this line: console.error(component); put in the main.ts file at root.
And you should not have the bottom text because of the global resolver returning some static text instead.
But everything is ignored.
The aim of my resolver is to fix a BUG inside the vue version of the renderRich text where it try to render a story-link without using vue-router and therefore is ignoring every router config like BASE_URL. I was trying to adapt it by using the resolver.
Describe the issue you're facing
When configuring a custom resolver globally OR once, it is not triggered
Reproduction
https://stackblitz.com/edit/vitejs-vite-1xmq7p?file=src%2Fmain.ts
Steps to reproduce
Open the repro url
Here you should have a console message because of this line:
console.error(component);
put in the main.ts file at root.And you should not have the bottom text because of the global resolver returning some static text instead.
But everything is ignored.
The aim of my resolver is to fix a BUG inside the vue version of the renderRich text where it try to render a story-link without using vue-router and therefore is ignoring every router config like BASE_URL. I was trying to adapt it by using the resolver.
Digging into your codebase 'around this particular method: https://github.com/storyblok/storyblok-js/blob/e5934867a61a9004218f359c434b25445e598ece/lib/index.ts#L102) I have a strong feeling that the resolver is only triggered when you put some
blok
in the richtext and not for everything. Is that a bug ? How to fix it ?System Info
Used Package Manager
npm
Error logs (Optional)
No response
Validations
The text was updated successfully, but these errors were encountered: