kasparboelkjeldsen / Knowit.Umbraco.InstantBlockPreview

An Umbraco package that supports in editor preview of block content - razor and headless
7 stars 4 forks source link

Error when submitting / not showing multiple blocks #10

Closed royws closed 1 month ago

royws commented 1 month ago

Hi,

I'm running the latest v14 package 2.1.0 in an empty Umbraco v14 starter kit for testing purposes. In the starter kit there are products with features, the features being a blocklist. When I add multiple features there and refresh the page only the latest preview is loading.

image

The javascript log shows an error when submitting the blocklistitem/loading the page which might be related to this

image

kasparboelkjeldsen commented 1 month ago

@royws happy to report that looks solved in 2.1.2 :)

Closing - please let me know if I got it wrong.

royws commented 1 month ago

Hi,

The listed error has been solved but the problem in the first image remains, or I'm doing something wrong. As shown in the first image, the preview only loads on the last item in the blocklist, if I rearange the first feature to the bottom it loads the preview but once I refresh the page it only shows the bottom one again. The project is an empty starter kit, not using any settings so not sure if anything could be wrong there.

royws commented 1 month ago

I opened a pull request for this issue.