Recommended releases

Download Released

Integrates Backdrop's icon library into a text filter.

Insert icons into your text by using shortcodes like [icon:pencil]. When the icon filter is
enabled on a text format then the token is converted to the equivalent inline svg.

Basics

Can also add:

  • classes: [icon:pencil class=icon-lg] or,
  • styles: [icon:pencil style="color: red;"],
  • or both: [icon:pencil class=icon-1x,icon-rotate-45 style="color: red;"]

Built-in classes

  • Relative sizing: icon-2xs, icon-xs, icon-sm, icon-lg, icon-xl, icon-2xl.
  • Literal sizing: icon-1x to icon-10x.
  • Flip: icon-flip-horizontal, icon-flip-vertical.
  • Rotate: icon-rotate-45, icon-rotate-90, icon-rotate-135, icon-rotate-180, icon-rotate-225.

Installation

Install this module using the official Backdrop CMS instructions.

The filter should come after the "Limit allowed HTML tags" and "Correct faulty
and chopped off HTML" filters.

Issues

Bugs and Feature requests should be reported in the Issue Queue.

Current Maintainers

Credits

License

This project is GPL v2 software.
See the LICENSE.txt file in this directory for complete text.