dabeng/OrgChart

Custom Icons Support after Font Awesome Icons Removal

jxmai opened this issue · 4 comments

jxmai commented

Issue: primefaces-extensions/primefaces-extensions#1050

Our current workaround is to replace fa-folder-open to oci-leader. (primefaces-extensions/primefaces-extensions#1050 (comment)) However, other than oci-leader, there seems no other customized icon exists for parentNodeSymbol.

It would be nice if we have the list of possible customized icons to be used after the font awesome icons removal or the ability to to define our own icons.

I understand removing FontAwesome as a dependency but there should be the ability to plug it back in and use custom icons.

dabeng commented

Hi @jxmai @melloware since version 3.7.0, users are allowed to replace built-in icons with Font Awesome icons. I have created demo on codepen.io for you.
https://codepen.io/dabeng/pen/jOezQzy

@dabeng thank you!

jxmai commented

Thanks @dabeng!