Sha256: 7a8b7f1718e1c54d88bad2ab36e88274fe0785f2d6430d77b935b0748eac3336

Contents?: true

Size: 656 Bytes

Versions: 39

Compression:

Stored size: 656 Bytes

Contents

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")}})}});

Version data entries

39 entries across 39 versions & 1 rubygems

Version Path
wbase-0.3.20 lib/vendor/admin/tinymce/plugins/nonbreaking/plugin.min.js
wbase-0.3.19 lib/vendor/admin/tinymce/plugins/nonbreaking/plugin.min.js
wbase-0.3.18 lib/vendor/admin/tinymce/plugins/nonbreaking/plugin.min.js
wbase-0.3.17 lib/vendor/admin/tinymce/plugins/nonbreaking/plugin.min.js
wbase-0.3.16 lib/vendor/admin/tinymce/plugins/nonbreaking/plugin.min.js
wbase-0.3.15 lib/vendor/admin/tinymce/plugins/nonbreaking/plugin.min.js
wbase-0.3.14 lib/vendor/admin/tinymce/plugins/nonbreaking/plugin.min.js
wbase-0.3.13 lib/vendor/admin/tinymce/plugins/nonbreaking/plugin.min.js
wbase-0.3.12 lib/vendor/admin/tinymce/plugins/nonbreaking/plugin.min.js
wbase-0.3.11 lib/vendor/admin/tinymce/plugins/nonbreaking/plugin.min.js
wbase-0.3.10 lib/vendor/admin/tinymce/plugins/nonbreaking/plugin.min.js
wbase-0.3.9 lib/vendor/admin/tinymce/plugins/nonbreaking/plugin.min.js
wbase-0.3.8 lib/vendor/admin/tinymce/plugins/nonbreaking/plugin.min.js
wbase-0.3.7 lib/vendor/admin/tinymce/plugins/nonbreaking/plugin.min.js
wbase-0.3.6 lib/vendor/admin/tinymce/plugins/nonbreaking/plugin.min.js
wbase-0.3.5 lib/vendor/admin/tinymce/plugins/nonbreaking/plugin.min.js
wbase-0.3.4 lib/vendor/admin/tinymce/plugins/nonbreaking/plugin.min.js
wbase-0.3.3 lib/vendor/admin/tinymce/plugins/nonbreaking/plugin.min.js
wbase-0.3.2 lib/vendor/admin/tinymce/plugins/nonbreaking/plugin.min.js
wbase-0.3.1 lib/vendor/admin/tinymce/plugins/nonbreaking/plugin.min.js