PHP Classes

File: Application/Module/Core/Public/Js/tinymce/plugins/nonbreaking/plugin.min.js

Recommend this page to a friend!
  Classes of Duong Huynh Nghia   Lego PHP   Application/Module/Core/Public/Js/tinymce/plugins/nonbreaking/plugin.min.js   Download  
File: Application/Module/Core/Public/Js/tinymce/plugins/nonbreaking/plugin.min.js
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Lego PHP
Blog and shopping cart system
Author: By
Last change:
Date: 7 years ago
Size: 696 bytes
 

Contents

Class file image Download
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")}})}});