diff --git a/README.md b/README.md index 109cf3c..7097256 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,8 @@ # TinyMCE FontAwesome Plugin -###### v1.2.0 +###### v1.3.0 -A plugin that lets you insert FontAwesome icons via TinyMCE. Currently uses FontAwesome v4.1.0. +A plugin that lets you insert FontAwesome icons via TinyMCE. Currently uses FontAwesome v4.2.0. ### Instructions diff --git a/fontawesome (uncompressed)/css/fontawesome.min.css b/fontawesome (uncompressed)/css/fontawesome.min.css deleted file mode 100644 index 6a85020..0000000 --- a/fontawesome (uncompressed)/css/fontawesome.min.css +++ /dev/null @@ -1,69 +0,0 @@ -/* Accordion */ - -.mce-fontawesome-panel-table { - -webkit-transition: 0.5s height; - transition: 0.5s height; - overflow: hidden; - height: 0; -} - -/* Title */ - -.mce-fontawesome-panel-title { - font-weight: bold; - margin-top: 5px; - margin-bottom: 5px; - cursor: pointer; - padding: 6px; - border-radius: 1px; -} - -.mce-fontawesome-panel-title:hover { - background-color: #bfbfbf; - background-color: rgba(0,0,0,0.1); -} - -.mce-fontawesome-panel-title { - border-bottom: 1px solid #eeeeee; -} - -.mce-fontawesome-panel-accordion-hide .mce-fontawesome-panel-title { - border-bottom: 0; -} - -.mce-fontawesome-panel-accordion:first-child .mce-fontawesome-panel-title { - margin-top: 0; -} - -/* FontAwesome Icons */ - -.mce-fontawesome-panel .fa { - font-family: FontAwesome !important; - cursor: pointer; - padding: 6px; - border-radius: 1px; -} - -.mce-fontawesome-panel .fa:hover { - background-color: #bfbfbf; - background-color: rgba(0,0,0,0.1); -} - -/* Toolbar & Menu Button */ - -.mce-i-flag { - display: inline-block; - font-family: FontAwesome; - font-style: normal; - font-weight: normal; - line-height: 1; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; - margin-right: 1px; - position: relative; - top: 1px; -} - -.mce-i-flag:before { - content: "\f024"; -} \ No newline at end of file diff --git a/fontawesome/plugin.min.js b/fontawesome/plugin.min.js index ade2cf7..8aebf39 100755 --- a/fontawesome/plugin.min.js +++ b/fontawesome/plugin.min.js @@ -1 +1 @@ -tinymce.PluginManager.add("fontawesome",function(f,e){function a(){function e(f,e){var a;0==h?(a='
'+e+"
",a+='
',h=1):(a='
'+e+"
",a+='
');var c=23;for(y=0;yx;x++)f[y*c+x]&&(a+="Spinner"==e?'":'");a+=""}return a+="
'+f[y*c+x]+"'+f[y*c+x]+"
"}function a(){for(var f=this.parentNode.className,x=0;x
'+t+"
";r+='
';n=1}else{r='
'+t+"
";r+='
'}var i=23;for(y=0;y'+e[y*i+x]+""}else{r+='"}}}r+=""}r+="
'+e[y*i+x]+"
";return r}function c(){var e=this.parentNode.className;for(var t=0;t + + + + FontAwesome Update + + + +

Grab the yaml file from FontAwesome's Github repository.

+ +

Convert the yaml to json using this website.

+ +

Copy the outputed text and paste it into the uncompressed plugin file. Check that it works, then compress the plugin js and upload it to Github.

+ + + + + +