Sha256: c4c7d7dcb7d74c6055458c28c9e608231b6261975ce638eb981c054ec388e9e4

Contents?: true

Size: 1.09 KB

Versions: 345

Compression:

Stored size: 1.09 KB

Contents

(function(){tinymce.create("tinymce.plugins.StylePlugin",{init:function(a,b){a.addCommand("mceStyleProps",function(){var c=false;var f=a.selection.getSelectedBlocks();var d=[];if(f.length===1){d.push(a.selection.getNode().style.cssText)}else{tinymce.each(f,function(g){d.push(a.dom.getAttrib(g,"style"))});c=true}a.windowManager.open({file:b+"/props.htm",width:480+parseInt(a.getLang("style.delta_width",0)),height:340+parseInt(a.getLang("style.delta_height",0)),inline:1},{applyStyleToBlocks:c,plugin_url:b,styles:d})});a.addCommand("mceSetElementStyle",function(d,c){if(e=a.selection.getNode()){a.dom.setAttrib(e,"style",c);a.execCommand("mceRepaint")}});a.onNodeChange.add(function(d,c,f){c.setDisabled("styleprops",f.nodeName==="BODY")});a.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

345 entries across 343 versions & 12 rubygems

Version Path
goldencobra-2.3.4 app/assets/javascripts/goldencobra/html_editors/tinymce_v3/plugins/style/editor_plugin.js
goldencobra-2.3.3 app/assets/javascripts/goldencobra/html_editors/tinymce_v3/plugins/style/editor_plugin.js
wagn-1.21.1 rails/assets/tinymce/plugins/style/editor_plugin.js
decko-0.3.2 rails/assets/tinymce/plugins/style/editor_plugin.js
decko-0.3.1 rails/assets/tinymce/plugins/style/editor_plugin.js
decko-0.3.0 rails/assets/tinymce/plugins/style/editor_plugin.js
decko-0.2.2 rails/assets/tinymce/plugins/style/editor_plugin.js
decko-0.2.1 rails/assets/tinymce/plugins/style/editor_plugin.js
decko-0.2 rails/assets/tinymce/plugins/style/editor_plugin.js
decko-0.1 rails/assets/tinymce/plugins/style/editor_plugin.js
wagn-1.21.0 rails/assets/tinymce/plugins/style/editor_plugin.js
wagn-1.20.4 rails/assets/tinymce/plugins/style/editor_plugin.js
wagn-1.20.3 rails/assets/tinymce/plugins/style/editor_plugin.js
wagn-1.20.2 rails/assets/tinymce/plugins/style/editor_plugin.js
wagn-1.20.1 rails/assets/tinymce/plugins/style/editor_plugin.js
wagn-1.20.0 rails/assets/tinymce/plugins/style/editor_plugin.js
ish_lib-0.0.8 vendor/assets/themeforest/alpona/html/js/tiny_mce/plugins/style/editor_plugin.js
ish_lib-0.0.8 vendor/assets/javascripts/.trash/tinymce/plugins/style/editor_plugin.js
wagn-1.19.6 rails/assets/tinymce/plugins/style/editor_plugin.js
wagn-1.19.5 rails/assets/tinymce/plugins/style/editor_plugin.js