Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add preview field / template support #28

Open
julrich opened this issue Oct 14, 2024 · 1 comment
Open

Add preview field / template support #28

julrich opened this issue Oct 14, 2024 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@julrich
Copy link
Member

julrich commented Oct 14, 2024

This should work off of a new x-cms annotation, like x-cms-preview... typed to a simple string.
Should also work both for preview fields and templates (e.g. field:headline or template: [..] to differentiate).

Needed to have good previews for objects in repeatable arrays (e.g. components in a Section, or navItems in a Header).

@julrich julrich changed the title Add preview template for Section Add preview template support Oct 31, 2024
@julrich julrich self-assigned this Oct 31, 2024
@julrich julrich added the enhancement New feature or request label Oct 31, 2024
@julrich julrich changed the title Add preview template support Add preview field / template support Oct 31, 2024
@julrich
Copy link
Member Author

julrich commented Oct 31, 2024

Preliminary support was already added here:

Follow-up here: kickstartDS/schema#28

@julrich julrich transferred this issue from kickstartDS/storyblok-starter-premium Dec 5, 2024
@julrich julrich moved this to In progress in CMS Starter Storyblok Dec 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: In progress
Development

No branches or pull requests

1 participant