diff options
author | till <till@php.net> | 2011-11-02 15:14:32 +0000 |
---|---|---|
committer | till <till@php.net> | 2011-11-02 15:14:32 +0000 |
commit | 4dd50a41ee477806745a05772d5abbf16d23db89 (patch) | |
tree | 3d65607d946f0eaecb468b8a21d40f147bc87fda /program/js/tiny_mce/plugins/nonbreaking/editor_plugin.js | |
parent | d6284b4d22d1e6912b01228b7d2a63e9fecbc5fb (diff) |
fix path/structure (my bad)
Diffstat (limited to 'program/js/tiny_mce/plugins/nonbreaking/editor_plugin.js')
-rw-r--r-- | program/js/tiny_mce/plugins/nonbreaking/editor_plugin.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/program/js/tiny_mce/plugins/nonbreaking/editor_plugin.js b/program/js/tiny_mce/plugins/nonbreaking/editor_plugin.js new file mode 100644 index 000000000..687f54866 --- /dev/null +++ b/program/js/tiny_mce/plugins/nonbreaking/editor_plugin.js @@ -0,0 +1 @@ +(function(){tinymce.create("tinymce.plugins.Nonbreaking",{init:function(a,b){var c=this;c.editor=a;a.addCommand("mceNonBreaking",function(){a.execCommand("mceInsertContent",false,(a.plugins.visualchars&&a.plugins.visualchars.state)?'<span data-mce-bogus="1" class="mceItemHidden mceItemNbsp"> </span>':" ")});a.addButton("nonbreaking",{title:"nonbreaking.nonbreaking_desc",cmd:"mceNonBreaking"});if(a.getParam("nonbreaking_force_tab")){a.onKeyDown.add(function(d,f){if(f.keyCode==9){f.preventDefault();d.execCommand("mceNonBreaking");d.execCommand("mceNonBreaking");d.execCommand("mceNonBreaking")}})}},getInfo:function(){return{longname:"Nonbreaking space",author:"Moxiecode Systems AB",authorurl:"http://tinymce.moxiecode.com",infourl:"http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/nonbreaking",version:tinymce.majorVersion+"."+tinymce.minorVersion}}});tinymce.PluginManager.add("nonbreaking",tinymce.plugins.Nonbreaking)})();
\ No newline at end of file |