aboutsummaryrefslogtreecommitdiff
path: root/data/stuff/tinymce-4.3.7/plugins/nonbreaking
diff options
context:
space:
mode:
Diffstat (limited to 'data/stuff/tinymce-4.3.7/plugins/nonbreaking')
-rw-r--r--data/stuff/tinymce-4.3.7/plugins/nonbreaking/plugin.min.js1
1 files changed, 1 insertions, 0 deletions
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?'<span class="mce-nbsp">&nbsp;</span>':"&nbsp;"),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