A plugin that lets you insert FontAwesome icons via TinyMCE. Currently uses FontAwesome v4.7.0 and is tested on TinyMCE v4.4.2.
fontawesome
folder from this repository into your TinyMCE plugins folder.tinymce.init({
...
content_css: 'https://netdna.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css',
noneditable_noneditable_class: 'fa',
plugins: 'fontawesome noneditable',
toolbar: 'fontawesome',
extended_valid_elements: 'span[*]'
});
Note: I'm not sure how to do add noneditable_noneditable_class: 'fa'
to tinymce.init()
in Joomla. I had a quick look but I couldn't see a way. Perhaps the Joomla TinyMCE plugin needs to be modified to include this option.
http://netdna.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css
directly to the template or use this plugin to add it.fontawesome
folder from this repository into /media/editors/tinymce/plugins/
.Editor - TinyMCE
and then click on the result.
Advanced
.https://netdna.bootstrapcdn.com/font-awesome/4.6.3/css/font-awesome.min.css
.span[*]
.fontawesome noneditable
.fontawesome
.noneditable_noneditable_class: 'fa'
to tinymce.init()
. Not sure how to do this.If you find a bug or you want a feature added please create an issue. However there is no guarantee that I will work on issues as I don't have much spare time. If you create a pull request I will probably accept it.