accessibility icon indicating copy to clipboard operation
accessibility copied to clipboard

it loads fonts / icons

Open SorinSu opened this issue 3 years ago • 3 comments

hi,

it looks good, but unfortunately it loads external fonts which nowadays may cause massive problems because of GDPR.

Any plans to change this?

SorinSu avatar Sep 19 '22 14:09 SorinSu

Hi @SorinSu ,

You can initiate the instance like this:

new Accessibility({ icon: { useEmojis: true } });

Hope this helps.

ranbuch avatar Oct 07 '22 05:10 ranbuch

Hi @ranbuch , great work. I'm using your plugin in Joomla; for the same problem of @SorinSu i want to charge Material Icons locally. It seams to be possible but the plugins open the online source googleapis anyway. Can you help me?

fabiojust avatar Dec 30 '22 15:12 fabiojust

Thanks @fabiojust , we need to allow loading the material icons font from other locations as well as the default google fonts.

Reopening this issue, don't know when I'll be able to implement this behavior.

ranbuch avatar Dec 31 '22 11:12 ranbuch

I've opened a PR that replaces Google Fonts with Bunny Fonts. It might be easier to use since it's a drop-in replacement and there's not much to do.

Also, +1 for allowing fonts to be loaded from other locations.

mustafauysal avatar Feb 18 '24 18:02 mustafauysal

@SorinSu @fabiojust Please see this issue that includes a fix for the problem.

ranbuch avatar Mar 08 '24 14:03 ranbuch