diff --git a/README.md b/README.md index 7097256..33d15ed 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,8 @@ # TinyMCE FontAwesome Plugin -###### v1.3.0 +###### v1.4.0 -A plugin that lets you insert FontAwesome icons via TinyMCE. Currently uses FontAwesome v4.2.0. +A plugin that lets you insert FontAwesome icons via TinyMCE. Currently uses FontAwesome v4.3.0. ### Instructions diff --git a/fontawesome/css/fontawesome.min.css b/fontawesome/css/fontawesome.min.css index e1d70e3..8f5b0a6 100644 --- a/fontawesome/css/fontawesome.min.css +++ b/fontawesome/css/fontawesome.min.css @@ -1 +1 @@ -.mce-fontawesome-panel-table{-webkit-transition:.5s height;transition:.5s height;overflow:hidden;height:0}.mce-fontawesome-panel-title{font-weight:700;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,.1)}.mce-fontawesome-panel-title{border-bottom:1px solid #eee}.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}.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,.1)}.mce-i-flag{display:inline-block;font-family:FontAwesome;font-style:normal;font-weight:400;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 +.mce-fontawesome-panel>.mce-container-body>.mce-container,.mce-fontawesome-panel>.mce-container-body>.mce-container>.mce-container-body{height:auto!important}.mce-fontawesome-panel-table{-webkit-transition:.5s height;transition:.5s height;overflow:hidden;height:0}.mce-fontawesome-panel-title{font-weight:700;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,.1)}.mce-fontawesome-panel-title{border-bottom:1px solid #eee}.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}.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,.1)}.mce-i-flag{display:inline-block;font-family:FontAwesome;font-style:normal;font-weight:400;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 8aebf39..9a107c6 100755 --- a/fontawesome/plugin.min.js +++ b/fontawesome/plugin.min.js @@ -1 +1 @@ -tinymce.PluginManager.add("fontawesome",function(e,t){function n(){function r(e,t){var r;if(n==0){r='
'+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
'+e+"
",a+='
',o=1):(a='
'+e+"
",a+='
');var c=23;for(y=0;y'+f[y*c+x]+"":'");a+=""}return a+="
'+f[y*c+x]+"
"}function a(){for(var f=this.parentNode.className,x=0;x