rickbutterfield / Umbraco.Community.BlockPreview

Easy to use rich HTML backoffice previews for the Umbraco Block List and Block Grid editors.
MIT License
20 stars 12 forks source link

Angular errors and blocks missing (Umb 10.4.0) #3

Closed AaronSadlerUK closed 1 year ago

AaronSadlerUK commented 1 year ago

Hey Rick!

I've followed your readme and my blocks have completely dissapeared with a ton of angularjs errors in the console.

This is using the Block List Editor on Umbraco 10.4.0

Before

image

After

image

I also cannot see block-[grid|list]-preview.html only block-preview.html

image

This is how I have configured the blocks:

image

And this is the error in the console:

image

Any help figuring this out would be amazing!

rickbutterfield commented 1 year ago

Thanks for flagging @AaronSadlerUK! I've turned the package into a multi-targeted one for net6.0 and net7.0 as the Startup wasn't running for NET6/Umbraco 10. Try installing v1.0.1 when you can and see if that works?

Also updated the README to point to the correct Angular file name in the back office.

AaronSadlerUK commented 1 year ago

Perfect that works a treat!