Mercurial > public > sg101
view media/js/tiny_mce/plugins/emotions/editor_plugin.js @ 305:d502a997360e
Fixing #110; Removed the prompts for alt text & titles from img and link buttons in the markitup editor. This was confusing users.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Sat, 15 Jan 2011 21:29:00 +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);