File: CMF/Web/scripts/tinymce/plugins/nonbreaking/plugin.min.js

Recommend this page to a friend!
  Classes of Burge Lab  >  BurgeATS  >  CMF/Web/scripts/tinymce/plugins/nonbreaking/plugin.min.js  >  Download  
File: CMF/Web/scripts/tinymce/plugins/nonbreaking/plugin.min.js
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: BurgeATS
CRM, Ticketing system, and employee manangement
Author: By
Last change:
Date: 4 years ago
Size: 655 bytes
 

Contents

Class file image Download
tinymce.PluginManager.add("nonbreaking",function(e){var t=e.getParam("nonbreaking_force_tab");if(e.addCommand("mceNonBreaking",function(){e.insertContent(e.plugins.visualchars&&e.plugins.visualchars.state?'<span class="mce-nbsp">&nbsp;</span>':"&nbsp;"),e.dom.setAttrib(e.dom.select("span.mce-nbsp"),"data-mce-bogus","1")}),e.addButton("nonbreaking",{title:"Nonbreaking space",cmd:"mceNonBreaking"}),e.addMenuItem("nonbreaking",{text:"Nonbreaking space",cmd:"mceNonBreaking",context:"insert"}),t){var n=+t>1?+t:3;e.on("keydown",function(t){if(9==t.keyCode){if(t.shiftKey)return;t.preventDefault();for(var r=0;n>r;r++)e.execCommand("mceNonBreaking")}})}});

For more information send a message to info at phpclasses dot org.