A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More.
AI OnAI Off
A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More.
You can specify this by letting your Preview template (or controller if you're using MVC) inherit IRenderTemplate<T> where T should be the specific Block you're interested in.
Alloy templates only have one Preview template, hence the preview template inherits IRenderTemplate<BlockData>.
Hi,
Is it possible to have different preview renderers for different blocks? Or do I have to create ONE generic preview renderer for ALL blocks?
//Marcus