Days
Hours
Minutes
Seconds
x

New Froala Editor v5.0.0 is here โ€“ Learn More

Skip to content
Froala Documentation

3rd Party Integration

Font Awesome 5 JS

Starting with the version 2.7.6, the Froala WYSIWYG HTML Editor has ready to use integration with Font Awesome 5. If you have a Font Awesome Pro license, you can enable using the regular icons instead of the solid ones by using the iconsTemplate option.

Try it yourself:


Edit in JSFiddle

HTML

<div id="froala-editor"></div>

JAVASCRIPT

<!-- Include the Font Awesome 5 JS. If you have a license for the PRO license, include the downloaded JS from Font Awesome website. -->
<script defer src="https://use.fontawesome.com/releases/v5.0.8/js/all.js"></script>

<script>
  new FroalaEditor('div#froala-editor', {
    iconsTemplate: 'font_awesome_5'

    // If you want to use the regular/light icons, change the template to the following.
    // iconsTemplate: 'font_awesome_5r'
    // iconsTemplate: 'font_awesome_5l'
  })
</script>
Sign up

Download the code by signing up for our newsletter

Sign up

Download the code by signing up for our newsletter

Note: By registering, you confirm that you agree to the processing of your personal data by Froala, Inc. - Froala as described in the Privacy Statement. Froala, Inc. - Froala is part of the Idera group and may share your information with its parent company Idera, Inc., and its affiliates. For further details on how your data is used, stored, and shared, please review our Privacy Statement.