Skip to content

eduridden/moodle-filter_fontawesome

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FontAwesome Filter

This filter allows you to use fontawesome icons in the Moodle text editor without worrying about having your div's stripped out by the Moodle Tinymce HTML cleaner.

Requirements

Your site/theme must have FontAwesome embedded already. This filter does not provide the font.

Installation

Install the plugin like any other plugin to folder /filter/fontawesome

See http://docs.moodle.org/25/en/Installing_plugins for details on installing Moodle plugins

Usage

First, activate the filter_tabs plugin in Site Administration -> Plugins -> Filters -> Manage filters

To create FontAwesome icons in textfields, use the following syntax: [fa-*] where * is the name of the icon you wish to display

Settings

filter_fontawesome has a settings page to allow you to limit the filter to only certain textbox formats.

Still to be done

I am still figuring out how to add an abilityt o detect a custom variable to allow the user to set the icon size.

Copyright

Written by Julian (@moodleman) Ridden. Visit the blog at http://www.moodleman.net Updated by David Bezemer. Visit his company page at http://www.uplearning.nl

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages