Sha256: 8896860a89f6624698dd0320efd4e2d83edf109029bd90697546c70d177bd8e7
Contents?: true
Size: 938 Bytes
Versions: 5
Compression:
Stored size: 938 Bytes
Contents
(function(){tinymce.create("tinymce.plugins.StylePlugin",{init:function(d,c){d.addCommand("mceStyleProps",function(){d.windowManager.open({file:c+"/props.htm",width:480+parseInt(d.getLang("style.delta_width",0)),height:320+parseInt(d.getLang("style.delta_height",0)),inline:1},{plugin_url:c,style_text:d.selection.getNode().style.cssText})});d.addCommand("mceSetElementStyle",function(a,b){if(e=d.selection.getNode()){d.dom.setAttrib(e,"style",b);d.execCommand("mceRepaint")}});d.onNodeChange.add(function(b,g,a){g.setDisabled("styleprops",a.nodeName==="BODY")});d.addButton("styleprops",{title:"style.desc",cmd:"mceStyleProps"})},getInfo:function(){return{longname:"Style",author:"Moxiecode Systems AB",authorurl:"http://tinymce.moxiecode.com",infourl:"http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/style",version:tinymce.majorVersion+"."+tinymce.minorVersion}}});tinymce.PluginManager.add("style",tinymce.plugins.StylePlugin)})();
Version data entries
5 entries across 5 versions & 1 rubygems