furcan / IconPicker

Use the Font Awesome Icons (Font Awesome Free v5.11.2) in your HTML forms. (1544 icons)

Home Page:https://furcan.github.io/IconPicker/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CLOSED: Does not work with font-awesome JS

petervanderwalt opened this issue · comments

If I use

<link rel="stylesheet" href="/lib/furcanIconPicker/dist/fontawesome-5.11.2/css/all.min.css">

it works (but I can't use CSS-only of font-awesome, we depend on some of the JS functionality

withoutjs

Font Awesome with JS says "When using our SVG framework, remember that Font Awesome-based <i> DOM elements are replaced with new <svg> elements by default. Be sure that your css rules target the right elements."

So when using it with JS instead

<script type="text/javascript" src="lib/fontawesome5/js/all.min.js"></script>

It fails (can't click icons, etc)

withjs

Therefore I beg of thee (: make plugin work with the JS version please (:

#2 relates too (same problem <i> replaced with <svg> elements by Font Awesome )

Hi,
Firstly thanks for using IconPicker.

This plugin did not design for using FontAwesome JS functionalities.

I noted this request and the next version of IconPicker may have this ability.

Thanks.