Closed 37Stars closed 1 year ago
Hi @37Stars!
Firstly, thank you for such great replication steps! This has made it really easy to trace down the bug.
Secondly, are you using ModelsBuilder at all in your solution? I've presumed not because you're creating a new solution out of the box. If it's the case that you're not, I think I've got a fix!
I can do either, but would prefer to use ModelsBuilder.
Excellent, I think I've got a fix then! I've only managed to replicate your issue when ModelBuilder was set to InMemoryAuto
, or one of the SourceCode
modes but not generated yet, but this fixes one of the first issues I found with the code!
@37Stars please test version 1.1.2 whenever you get chance! https://www.nuget.org/packages/Umbraco.Community.BlockPreview/1.1.2#readme-body-tab
@rickbutterfield yes, that works great!
The only issue remaining is an Umbraco issue. When I add content to one of those two columns, Umbraco displays the properties panel for the two-column layout over the "Add Content" panel. Clicking "Discard Changes" takes care of that.
I created a new empty project to try the BlockPreview. These are my steps:
When editing the Home page in the back office the Two Column Layout displays the message "Something went wrong rendering a preview".
The blocks Headline, Image and Rich Text display without any issues. Am I missing something?