rickbutterfield / Umbraco.Community.BlockPreview

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

Browser dev console error #83

Open tekoscott opened 5 days ago

tekoscott commented 5 days ago

Which Umbraco.Community.BlockPreview version are you using?

1.10.5

Which Umbraco version are you using? For example: 10.4.0 - don't just write v10

13.5.2

Bug summary

I am inplementing your blockpreview package into my project and the following error is displayed in the console. I'm not up on angular js but was wondering what this error message that blockpreview is throwing is and what implications it has.

image

https://docs.angularjs.org/error/$compile/ctreq?p0=ngModel&p1=ngChange

Steps to reproduce

  1. Install nuget package
  2. Apply html and custom css for each block list element
  3. Open CMS page and inspect dev console of browsser

Expected result / actual result

Currently my previews are rendering but the they are not scaled properly. They should render scaled to represent the front end more closely

rickbutterfield commented 5 days ago

Hey @tekoscott! Is there anything out of the ordinary in the partial that's trying to be rendered out here? Are you able to share the code for it please? There may be something that needs sanitising by the package before it gets rendered in the backoffice.