Skip to content

Commit

Permalink
Fixed Readme
Browse files Browse the repository at this point in the history
  • Loading branch information
josh18 committed Jun 16, 2017
1 parent 8f97682 commit 8a1220b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

###### v2.1.0

A plugin that lets you insert FontAwesome icons via TinyMCE. Currently uses FontAwesome v4.6.3 and is tested on TinyMCE v4.4.2.
A plugin that lets you insert FontAwesome icons via TinyMCE. Currently uses FontAwesome v4.7.0 and is tested on TinyMCE v4.4.2.


### Instructions
Expand All @@ -12,7 +12,7 @@ A plugin that lets you insert FontAwesome icons via TinyMCE. Currently uses Font
```js
tinymce.init({
...
content_css: 'https://netdna.bootstrapcdn.com/font-awesome/4.6.3/css/font-awesome.min.css',
content_css: 'https://netdna.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css',
noneditable_noneditable_class: 'fa',
plugins: 'fontawesome noneditable',
toolbar: 'fontawesome',
Expand All @@ -23,7 +23,7 @@ tinymce.init({
### Joomla Instructions
**Note: I'm not sure how to do add `noneditable_noneditable_class: 'fa'` to `tinymce.init()` in Joomla. I had a quick look but I couldn't see a way. Perhaps the Joomla TinyMCE plugin needs to be modified to include this option.**

1. Make sure you have FontAwesome loaded on the page that contains TinyMCE. If you don't add `http://netdna.bootstrapcdn.com/font-awesome/4.6.3/css/font-awesome.min.css` [directly to the template](https://docs.joomla.org/J3.x:Adding_JavaScript_and_CSS_to_the_page) or use [this plugin](https://thekrotek.com/joomla-extensions/admin-custom-css) to add it.
1. Make sure you have FontAwesome loaded on the page that contains TinyMCE. If you don't add `http://netdna.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css` [directly to the template](https://docs.joomla.org/J3.x:Adding_JavaScript_and_CSS_to_the_page) or use [this plugin](https://thekrotek.com/joomla-extensions/admin-custom-css) to add it.
2. Copy the `fontawesome` folder from this repository into `/media/editors/tinymce/plugins/`.
3. Go to Joomla admin panel. In the top menu choose "Extensions" > "Plugins". Search for `Editor - TinyMCE` and then click on the result.
1. Change "Functionality" to `Advanced`.
Expand Down

0 comments on commit 8a1220b

Please sign in to comment.