Skip to content

akeilox/TinyMCE-FontAwesome-Plugin

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TinyMCE FontAwesome Plugin

v1.3.0

A plugin that lets you insert FontAwesome icons via TinyMCE. Currently uses FontAwesome v4.2.0.

Instructions

  • Make sure you have FontAwesome loaded on the page that contains TinyMCE.

  • Copy the fontawesome folder into your TinyMCE plugins folder.

  • Add this to your TinyMCE script:

    tinymce.init({
        ...
        plugins: 'fontawesome noneditable'
        ...
        extended_valid_elements: 'span[class]'
        ...
        content_css: '//netdna.bootstrapcdn.com/font-awesome/4.1.0/css/font-awesome.min.css';
        ...
        toolbar: 'fontawesome';
        ...
    });
  • Test it and make sure it works.

  • If you find something broken or if you have any suggestions feel free to create an issue.

About

A plugin that lets you insert FontAwesome icons via TinyMCE

Resources

License

Stars

Watchers

Forks

Packages

No packages published