telerik / kendo-angular

Issue tracker - Kendo UI for Angular
http://www.telerik.com/kendo-angular-ui/
Other
464 stars 213 forks source link

Font icons not loaded when using CDN link #4289

Closed mbechev closed 2 months ago

mbechev commented 2 months ago

Describe the bug Font icons are not loaded in an Angular v17 app when using CDN link:

<link
    rel="stylesheet"
    href="https://unpkg.com/@progress/kendo-font-icons/dist/index.css"
/>

Loaded font icon:

image

Using CDN link:

image

To Reproduce Download and run npm install. Then execute ng serve. font-cdn.zip

Font Awesome icons are also not loaded when using CDN link:

<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" />

This makes me think that it might be an Angular issue rather than related to the suite.

dtopalov commented 2 months ago

The issue is related to the application's CSP configuration and the styles/font loading mechanics rather than to the product. The CSP config is setup for the Kendo CDN, while fonts and font icons are loaded from different CDNs.