From fda56e40b460ab06b6abee98ae1bc7d5f5847c9f Mon Sep 17 00:00:00 2001 From: Paul Duncan Date: Sun, 3 Apr 2016 02:27:10 -0400 Subject: add tinymce --- data/stuff/tinymce-4.3.7/plugins/nonbreaking/plugin.min.js | 1 + 1 file changed, 1 insertion(+) create mode 100644 data/stuff/tinymce-4.3.7/plugins/nonbreaking/plugin.min.js (limited to 'data/stuff/tinymce-4.3.7/plugins/nonbreaking/plugin.min.js') diff --git a/data/stuff/tinymce-4.3.7/plugins/nonbreaking/plugin.min.js b/data/stuff/tinymce-4.3.7/plugins/nonbreaking/plugin.min.js new file mode 100644 index 0000000..190dc33 --- /dev/null +++ b/data/stuff/tinymce-4.3.7/plugins/nonbreaking/plugin.min.js @@ -0,0 +1 @@ +tinymce.PluginManager.add("nonbreaking",function(a){var b=a.getParam("nonbreaking_force_tab");if(a.addCommand("mceNonBreaking",function(){a.insertContent(a.plugins.visualchars&&a.plugins.visualchars.state?' ':" "),a.dom.setAttrib(a.dom.select("span.mce-nbsp"),"data-mce-bogus","1")}),a.addButton("nonbreaking",{title:"Nonbreaking space",cmd:"mceNonBreaking"}),a.addMenuItem("nonbreaking",{text:"Nonbreaking space",cmd:"mceNonBreaking",context:"insert"}),b){var c=+b>1?+b:3;a.on("keydown",function(b){if(9==b.keyCode){if(b.shiftKey)return;b.preventDefault();for(var d=0;c>d;d++)a.execCommand("mceNonBreaking")}})}}); \ No newline at end of file -- cgit v1.2.3