-
-
Notifications
You must be signed in to change notification settings - Fork 48
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
[feature request] Preview customization #51
Comments
Hi, thank you for checking Sveltia CMS! Custom Previews are not supported yet, as mentioned in the README. I’ll figure out how to do it hopefully this month. |
Ah, missed that sorry. Looking forward to it! Amazing work on Sveltia btw, crazy how much faster it is when swapping out decap! UI is beautiful too 🙏🏽 |
@kyoshino @fractalhq I have used NetlifyCMS on a couple of hugo projects. I created PreviewTemplates for the collection types and found the process a bit of a torture. I am not a React developer. I have dreamed more than once of a svelte port of the CMS. You are a hero for doing this. To allow clients to build their own page layouts from a menu of sections we implemented the 'Advanced_Page' collection type. So my request is a Preview template made up of sub templates displayed in the order passed in as a collection. To help explain whjat I mean. The hugo template for the advanced page loops through the page sections and selects the appropriate partial template {{ range $section := .Params.sections }} I am a beginner with svelte but I get the feeling this should be possible. |
I'm so keen for this. My initial thought would an onChange event, and a way to subscribe to partial updates of content. If I was editing in a directory collection {
segments: [5, 'reviewer'],
value: {
from: 3,
to: 5
}
} |
Being able to customize the previews is an amazing feature in Decap. I use it to import my global css so that the content in the preview looks just like the page the content is on!
Any plans to support this feature? Or perhaps I missed it?
The text was updated successfully, but these errors were encountered: