ffhs / moodle-filter_fontawesome

A Moodle filter plugin to use fontawesome icons in the Moodle text editor
https://moodle.org/plugins/filter_fontawesome
2 stars 4 forks source link

Not all icons are displayed with free solid icons (Version 5.8.1) and flip class not working #6

Closed adpe closed 5 years ago

adpe commented 5 years ago

This issue was initiated by a comment inside the Moodle plugins repository (https://moodle.org/plugins/filter_fontawesome)

Hi,

First of all, very nice plugin! I recently installed it in our Moodle test environment, but I am having an issue that not all icons display. I am using the codes for free solid icons, and certain (random) icons like volume-mute or uber logo don't render. Do you have any idea why this might be happening? Also, I am having an issue with flipping the icons as well.

Thanks in advance! Best, Liana

adpe commented 5 years ago

In order to use brands like uber you must provide inside the square brackets the fab class. Example: [fab fa-uber fa-2x]

I'm not sure yet which version does Moodle have in core, but I think it's not FontAwesome 5! Therefore a lot of icons will not be displayed, and If you want use FontAwesome 5 you must override the Moodle defaults. We've done this in our custom boost theme, We're using the FontAwesome 5 Pro!

Here are some examples: image

Please read the README there is described how you can animate and flip icons.

Greets Adrian