Sha256: 767d32c377590fb76a9dc4e3506bd7c6fb33f3d2380c238681b44cead756669d

Contents?: true

Size: 912 Bytes

Versions: 39

Compression:

Stored size: 912 Bytes

Contents

tinymce.PluginManager.add("emoticons",function(a,b){function c(){var a;return a='<table role="list" class="mce-grid">',tinymce.each(d,function(c){a+="<tr>",tinymce.each(c,function(c){var d=b+"/img/smiley-"+c+".gif";a+='<td><a href="#" data-mce-url="'+d+'" data-mce-alt="'+c+'" tabindex="-1" role="option" aria-label="'+c+'"><img src="'+d+'" style="width: 18px; height: 18px" role="presentation" /></a></td>'}),a+="</tr>"}),a+="</table>"}var d=[["cool","cry","embarassed","foot-in-mouth"],["frown","innocent","kiss","laughing"],["money-mouth","sealed","smile","surprised"],["tongue-out","undecided","wink","yell"]];a.addButton("emoticons",{type:"panelbutton",panel:{role:"application",autohide:!0,html:c,onclick:function(b){var c=a.dom.getParent(b.target,"a");c&&(a.insertContent('<img src="'+c.getAttribute("data-mce-url")+'" alt="'+c.getAttribute("data-mce-alt")+'" />'),this.hide())}},tooltip:"Emoticons"})});

Version data entries

39 entries across 39 versions & 1 rubygems

Version Path
wbase-0.3.20 lib/vendor/admin/tinymce/plugins/emoticons/plugin.min.js
wbase-0.3.19 lib/vendor/admin/tinymce/plugins/emoticons/plugin.min.js
wbase-0.3.18 lib/vendor/admin/tinymce/plugins/emoticons/plugin.min.js
wbase-0.3.17 lib/vendor/admin/tinymce/plugins/emoticons/plugin.min.js
wbase-0.3.16 lib/vendor/admin/tinymce/plugins/emoticons/plugin.min.js
wbase-0.3.15 lib/vendor/admin/tinymce/plugins/emoticons/plugin.min.js
wbase-0.3.14 lib/vendor/admin/tinymce/plugins/emoticons/plugin.min.js
wbase-0.3.13 lib/vendor/admin/tinymce/plugins/emoticons/plugin.min.js
wbase-0.3.12 lib/vendor/admin/tinymce/plugins/emoticons/plugin.min.js
wbase-0.3.11 lib/vendor/admin/tinymce/plugins/emoticons/plugin.min.js
wbase-0.3.10 lib/vendor/admin/tinymce/plugins/emoticons/plugin.min.js
wbase-0.3.9 lib/vendor/admin/tinymce/plugins/emoticons/plugin.min.js
wbase-0.3.8 lib/vendor/admin/tinymce/plugins/emoticons/plugin.min.js
wbase-0.3.7 lib/vendor/admin/tinymce/plugins/emoticons/plugin.min.js
wbase-0.3.6 lib/vendor/admin/tinymce/plugins/emoticons/plugin.min.js
wbase-0.3.5 lib/vendor/admin/tinymce/plugins/emoticons/plugin.min.js
wbase-0.3.4 lib/vendor/admin/tinymce/plugins/emoticons/plugin.min.js
wbase-0.3.3 lib/vendor/admin/tinymce/plugins/emoticons/plugin.min.js
wbase-0.3.2 lib/vendor/admin/tinymce/plugins/emoticons/plugin.min.js
wbase-0.3.1 lib/vendor/admin/tinymce/plugins/emoticons/plugin.min.js