menu icon indicating copy to clipboard operation
menu copied to clipboard

Remove hardcoded fontawesome from CDN

Open kujenga opened this issue 7 years ago • 3 comments

This library uses a stylesheet that pulls in the font-awesome library from a CDN. Would it be possible to remove this or make it optional in some manner? For sites that have a more restrictive Content Security Policy, this external CDN causes errors in the JS console.

kujenga avatar Apr 18 '18 15:04 kujenga

Not gonna happen. #100

To get around it, I copy/paste the CSS into my project and remove the font-face piece.

scragg0x avatar May 25 '18 13:05 scragg0x

cdn.bootcss.com the site is periodically unavailable or very slow gives the font. need other links or how to make the font placed on my site?

romanown avatar Aug 28 '18 21:08 romanown

I downloaded the font archive and unzipped it into the font directory. in the css file did so as @font-face { font-family: 'FontAwesome'; src: url('/fonts/fontawesome-webfont.eot?v=4.7.0'); src: url('/fonts/fontawesome-webfont.eot?#iefix&v=4.7.0') format('embedded-opentype'), url('/fonts/fontawesome-webfont.woff2?v=4.7.0') format('woff2'), url('/fonts/fontawesome-webfont.woff?v=4.7.0') format('woff'), url('/fonts/fontawesome-webfont.ttf?v=4.7.0') format('truetype'), url('/fonts/fontawesome-webfont.svg?v=4.7.0#fontawesomeregular') format('svg'); font-weight: normal; font-style: normal; } it is works

romanown avatar Sep 05 '18 12:09 romanown