Special TinyMCE plugin that that adds a Font Awesome icon selector to the editor
Special TinyMCE plugin that that adds a Font Awesome icon selector to the editor.
The sources of this plugin could be found here.
FontAwesome version: 4.7.0 FontAwesome-Plugin version: 2.1.0
Install the extension via composer: cliffparnitzky/tiny-mce-font-awesome.
If you prefer to install it manually, download the latest release here: https://github.com/cliffparnitzky/TinyMceFontAwesome/releases
- Contao version >= 4.4.0
- To load this plugin and add it to the configuration the extension [TinyMcePluginLoader] has to be installed.
- Since Version 2.1.0 the extension [TinyMceNoneditable] is needed.
In the backend, the CSS file for the Font Awesome icons will automatically be integrated.
For the frontend, it has to be defined in the themes:
Sometime it will be necessary to change the URL to the Font Awesome CSS file (e.g. in
Add the following line to your
system/config/dcaconfig.php and modify it (this way is update save):
$GLOBALS['TL_FONTAWESOME_CSS'] = 'https://netdna.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css';