Sha256: e009df0b3ec6e06f3cc9186957935fc51cab25df08974dd2ddf61bbf4f4064d7
Contents?: true
Size: 788 Bytes
Versions: 4
Compression:
Stored size: 788 Bytes
Contents
(function(){tinymce.create("tinymce.plugins.AdvancedImagePlugin",{init:function(d,c){d.addCommand("mceAdvImage",function(){if(d.dom.getAttrib(d.selection.getNode(),"class").indexOf("mceItem")!=-1){return}d.windowManager.open({file:c+"/image.htm",width:480+parseInt(d.getLang("advimage.delta_width",0)),height:385+parseInt(d.getLang("advimage.delta_height",0)),inline:1},{plugin_url:c})});d.addButton("image",{title:"advimage.image_desc",cmd:"mceAdvImage"})},getInfo:function(){return{longname:"Advanced image",author:"Moxiecode Systems AB",authorurl:"http://tinymce.moxiecode.com",infourl:"http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/advimage",version:tinymce.majorVersion+"."+tinymce.minorVersion}}});tinymce.PluginManager.add("advimage",tinymce.plugins.AdvancedImagePlugin)})();
Version data entries
4 entries across 4 versions & 1 rubygems