Limbo.Umbraco.BlockList
This package extends the default block list property editor in Umbraco, making it possible to control the CLR type returned by our version of the block list property editor.
The default block list property editor exposes the value as an instance of BlockListModel
representing the individual blocks as they are added by users in the backoffice.
If you wish to interpret the BlockListModel
a bit before rendering the block list on the website, there is a few different ways to go about this. With this package, you can select a type converter which is then used for converting a BlockListModel
instance to a desired type.
For us at @limbo-works, we find this particular useful as we can use a type converter to control the output for our headless API, thereby better being able to tailor the output for our frontenders.