OlivierCC / spfx-40-fantastics

This package is a sample kit of Client Side Web Parts built on the SharePoint Framework SPFx. You can find here different kind of high visual web parts as carousel, images galleries, animations, map, editors, etc.
MIT License
412 stars 277 forks source link

Bing translator not working #91

Open lovethakker02 opened 5 years ago

lovethakker02 commented 5 years ago

I have taken latest sppkg package as mentioned in wiki (https://github.com/OlivierCC/spfx-40-fantastics/wiki/Installation-process). And installed in my app catalog. I have added your app in my modern communication site as well.

When I added bind translator webpart to home page, it is throwing below error in console when I select any language in translate:

Refused to execute inline event handler because it violates the following Content Security Policy directive: "script-src 'strict-dynamic' 'unsafe-eval' 'nonce' ". Either the 'unsafe-inline' keyword, a hash ('sha256-...'), or a nonce ('nonce-...') is required to enable inline execution.

The issue is occurring only when page is published. When page is in edit mode it is working well.