Package Review: Umbraco.Community.BlockPreview
Draft
umbraco packagereview blockgrid blocklist
Package Info
- Package: Umbraco.Community.BlockPreview
- Author: Rick Butterfield
- GitHub: https://github.com/rickbutterfield/Umbraco.Community.BlockPreview
- NuGet: https://www.nuget.org/packages/Umbraco.Community.BlockPreview
- Umbraco Version Tested: [TODO]
- Package Version Reviewed: [TODO]
Unboxing
TODO: Notes about installation experience, documentation clarity, and first steps.
Walkthrough
TODO: Explore the features, configuration options, and how it works in practice.
Features
BlockPreview enables rich HTML backoffice previews for:
- Block Grid editor
- Block List editor
- Rich Text editor (blocks)
Supports both Razor views and ViewComponents.
Configuration
// Program.cs
builder.CreateUmbracoBuilder()
.AddBackOffice()
.AddWebsite()
.AddDeliveryApi()
.AddComposers()
.AddBlockPreview(options =>
{
options.BlockGrid = new()
{
Enabled = true,
ContentTypes = [RichTextBlock.ModelTypeAlias]
};
options.BlockList = new()
{
Enabled = true
};
options.RichText.Enabled = false;
})
.Build();
Or via appsettings.json:
{
"BlockPreview": {
"BlockGrid": {
"Enabled": true,
"ContentTypes": ["richTextBlock"]
},
"BlockList": {
"Enabled": true
},
"RichText": {
"Enabled": false
}
}
}
Conclusion / Use Cases
TODO: Describe ideal use cases and who benefits most from this package.
Would I Use It Again?
TODO: Honest verdict on recommendation.
What I Would Change
TODO: Any pain points, suggestions, or improvements.
Alternatives
TODO: List alternatives or different approaches to solving the same problem.