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
Whether using Astro.props to pass page data or getting data based on the full_slug value, the visual editor should be supported (tests have found that all page top-level pages generated in the form of slug support visual editing).
Current Behavior
When passing page data via Astro.props, the visual editor will not work when rendering the page via full_slug, but will work fine when using slug as the page route (especially for top-level pages).
When rendering a page with full_slug, the visual editor can only work properly if the page data is obtained through useStoryblokApi().getStory() (this should be considered a bug, compared to the top-level page, everything is normal.)
The following is the code for the visual editor not working properly
Expected Behavior
Whether using
Astro.props
to pass page data or getting data based on thefull_slug
value, the visual editor should be supported (tests have found that all page top-level pages generated in the form of slug support visual editing).Current Behavior
When passing page data via Astro.props, the visual editor will not work when rendering the page via full_slug, but will work fine when using slug as the page route (especially for top-level pages).
Steps to Reproduce
src/pages/[...page].astro
code Passing data viaAstro.props
fig1: Working fine
src/pages/[...service].astro
When rendering a page with full_slug, the visual editor can only work properly if the page data is obtained through useStoryblokApi().getStory() (this should be considered a bug, compared to the top-level page, everything is normal.)
The following is the code for the visual editor not working properly
fig3: Not working
The text was updated successfully, but these errors were encountered: