Simple icon renderer
To load this plugin, add the following to the extras block in your
config.php or
theme settings.php:
'extras' => [
// ...
'cms-icon' => [],
// ...
],
The font library to use for the backend can be configured, (but at the moment only FontAwesome is supported).
N/A
Basic usage:
<i is="cms-icon" icon="camera"></i>
Automatic Resolution:
An HREF can be provided to automatically resolve the icon to the given service. For example if a Youtube link is provided, the youtube icon will be rendered.
<i is="cms-icon" href="https://youtube.com/some-video"></i>
N/A
Add support for href attribute for automatic resolution, (cloned from external-links)
Fix integration between CMS-Button and CMS-Icon