aboutsummaryrefslogtreecommitdiffstats
path: root/97suifangqa/staticfiles/tinymce/js/tinymce/plugins/emoticons/plugin.min.js
diff options
context:
space:
mode:
Diffstat (limited to '97suifangqa/staticfiles/tinymce/js/tinymce/plugins/emoticons/plugin.min.js')
-rw-r--r--97suifangqa/staticfiles/tinymce/js/tinymce/plugins/emoticons/plugin.min.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/97suifangqa/staticfiles/tinymce/js/tinymce/plugins/emoticons/plugin.min.js b/97suifangqa/staticfiles/tinymce/js/tinymce/plugins/emoticons/plugin.min.js
new file mode 100644
index 0000000..c5f3329
--- /dev/null
+++ b/97suifangqa/staticfiles/tinymce/js/tinymce/plugins/emoticons/plugin.min.js
@@ -0,0 +1 @@
+tinymce.PluginManager.add("emoticons",function(e,t){function n(){var e;return e='<table role="presentation" class="mce-grid">',tinymce.each(r,function(n){e+="<tr>",tinymce.each(n,function(n){var r=t+"/img/smiley-"+n+".gif";e+='<td><a href="#" data-mce-url="'+r+'" tabindex="-1"><img src="'+r+'" style="width: 18px; height: 18px"></a></td>'}),e+="</tr>"}),e+="</table>"}var r=[["cool","cry","embarassed","foot-in-mouth"],["frown","innocent","kiss","laughing"],["money-mouth","sealed","smile","surprised"],["tongue-out","undecided","wink","yell"]];e.addButton("emoticons",{type:"panelbutton",popoverAlign:"bc-tl",panel:{autohide:!0,html:n,onclick:function(t){var n=e.dom.getParent(t.target,"a");n&&(e.insertContent('<img src="'+n.getAttribute("data-mce-url")+'" />'),this.hide())}},tooltip:"Emoticons"})}); \ No newline at end of file