ElkArte Community

Extending Elk => Addons => Topic started by: Spuds on December 19, 2015, 08:50:09 pm

Title: [ADDON] Font Awesome Icons in the Editor
Post by: Spuds on December 19, 2015, 08:50:09 pm
This addon allows for the adding of Font Awesome icons in the editor. 

Font Awesome BBC

License
This ElkArte addon is released under a MPL V1.1 license, a copy of it with its provisions is included with the package.

Note: I only tested this on 1.1, but it should work on the 1.0 branch.

Introduction
This adds a new button to the editor which then allows for inserting any of the font awesome icons in to your post.

Features
o Adds icon selection dropdown to the editor.
o Works in both wizzy and source modes.

Repo / Download
http://addons.elkarte.net/bbc/BBC-Fa.html
Title: Re: [Addon] Font Awesome Icons in the Editor
Post by: meetdilip on December 20, 2015, 02:06:14 am
Nice addition.
Title: Re: [Addon] Font Awesome Icons in the Editor
Post by: emanuele on December 20, 2015, 04:51:17 am
Cool!
Title: Re: [ADDON] Font Awesome Icons in the Editor
Post by: Jorin on July 21, 2021, 01:18:32 am
Sadly the icons don't work in board titles. Is there any chance to expand this?  O:-)
Title: Re: [ADDON] Font Awesome Icons in the Editor
Post by: Spuds on July 21, 2021, 05:40:46 pm
I think you may be able to do that w/o the addon. 

If you have Font Awesome enabled for your theme ( which means in your themes index.template.php file you have 'require_font-awesome' => true, in the template_init function )

Then you should be able to add in some HTML like
Code: [Select]
<i class="fa fa-folder"></i>
which will show the folder icon where you place that code.  Pick whatever icon that is available with FA.

PS Nice you see you, hope all is well ! :D
Title: Re: [ADDON] Font Awesome Icons in the Editor
Post by: Jorin on July 23, 2021, 01:11:20 am
Thanks, Spuds, I'll give it a try.

All is well, yes. Had some life changes the last months, some bad, some good, but overall I am very happy at the moment. I am officially divorced now, but have a wonderful new relationship growing, with kids (I love kids). I am still working in home office, it's save but a bit lonely. I was on holiday with her last week, which was a very good idea (and safe too, because we were still in Germany, no need for risky holidays in Greece or Spain). All is doing great. Thanks for asking, didn't know I was missed.  :D