annotate static/js/tiny_mce/plugins/emotions/editor_plugin.js @ 1138:0e93eaa323e7
Fix user autocomplete for private messages the right V3 way.
author |
Brian Neal <bgneal@gmail.com> |
date |
Sun, 23 Oct 2016 12:17:03 -0500 |
parents |
88b2b9cb8c1f |
children |
|
rev |
line source |
bgneal@312
|
1 (function(a){a.create("tinymce.plugins.EmotionsPlugin",{init:function(b,c){b.addCommand("mceEmotion",function(){b.windowManager.open({file:c+"/emotions.htm",width:250+parseInt(b.getLang("emotions.delta_width",0)),height:160+parseInt(b.getLang("emotions.delta_height",0)),inline:1},{plugin_url:c})});b.addButton("emotions",{title:"emotions.emotions_desc",cmd:"mceEmotion"})},getInfo:function(){return{longname:"Emotions",author:"Moxiecode Systems AB",authorurl:"http://tinymce.moxiecode.com",infourl:"http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/emotions",version:a.majorVersion+"."+a.minorVersion}}});a.PluginManager.add("emotions",a.plugins.EmotionsPlugin)})(tinymce); |