Mercurial > public > sg101
view media/js/tiny_mce/plugins/emotions/editor_plugin.js @ 272:4557974db0e0
For #114, committing a new shoutbox based on the jquery cycle plugin for user feedback.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Sun, 26 Sep 2010 19:08:31 +0000 |
parents | 149c3567fec1 |
children |
line wrap: on
line source
(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);