BVB Source Codes

The latest thinkphp v5.2 work order system Show editor_plugin_src.js Source code

Return Download The latest thinkphp v5.2 work order system: download editor_plugin_src.js Source code - Download The latest thinkphp v5.2 work order system Source code - Type:.js
  1. /**
  2.  * editor_plugin_src.js
  3.  *
  4.  * Copyright 2009, Moxiecode Systems AB
  5.  * Released under LGPL License.
  6.  *
  7.  * License: http://tinymce.moxiecode.com/license
  8.  * Contributing: http://tinymce.moxiecode.com/contributing
  9.  */
  10.  
  11. (function() {
  12.         tinymce.create('tinymce.plugins.Nonbreaking', {
  13.                 init : function(ed, url) {
  14.                         var t = this;
  15.  
  16.                         t.editor = ed;
  17.  
  18.                         // Register commands
  19.                         ed.addCommand('mceNonBreaking', function() {
  20.                                 ed.execCommand('mceInsertContent', false, (ed.plugins.visualchars && ed.plugins.visualchars.state) ? '<span data-mce-bogus="1" class="mceItemHidden mceItemNbsp">&nbsp;</span>' : '&nbsp;');
  21.                         });
  22.  
  23.                         // Register buttons
  24.                         ed.addButton('nonbreaking', {title : 'nonbreaking.nonbreaking_desc', cmd : 'mceNonBreaking'});
  25.  
  26.                         if (ed.getParam('nonbreaking_force_tab')) {
  27.                                 ed.onKeyDown.add(function(ed, e) {
  28.                                         if (e.keyCode == 9) {
  29.                                                 e.preventDefault();
  30.        
  31.                                                 ed.execCommand('mceNonBreaking');
  32.                                                 ed.execCommand('mceNonBreaking');
  33.                                                 ed.execCommand('mceNonBreaking');
  34.                                         }
  35.                                 });
  36.                         }
  37.                 },
  38.  
  39.                 getInfo : function() {
  40.                         return {
  41.                                 longname : 'Nonbreaking space',
  42.                                 author : 'Moxiecode Systems AB',
  43.                                 authorurl : 'http://tinymce.moxiecode.com',
  44.                                 infourl : 'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/nonbreaking',
  45.                                 version : tinymce.majorVersion + "." + tinymce.minorVersion
  46.                         };
  47.                 }
  48.  
  49.                 // Private methods
  50.         });
  51.  
  52.         // Register plugin
  53.         tinymce.PluginManager.add('nonbreaking', tinymce.plugins.Nonbreaking);
  54. })();
downloadeditor_plugin_src.js Source code - Download The latest thinkphp v5.2 work order system Source code
Related Source Codes/Software:
V3.3.6 Workerman high-performance PHP Socket (framework) - High performance PHP Socket framework Workerman re... 2017-05-03
The phosphor meeting room reservation system MRBS (loop reservation v16.0) - The phosphor meeting room reservation system MRBS ... 2017-05-03
IDC v5.2.3 agent center - IDC Centre IDC for exploitation is a PHP+MySQL age... 2017-05-03
Zen master v9.0.1 project management software - Zen is the first domestic open source project mana... 2017-05-03
Ray speed v7.03 employee files management system - Employee files project is various, and some conten... 2017-05-03
HITCMS Haitian responsive electronic mechanical v3.0 foreign trade website source code - HITCMS Haitian response electronic machinery trade... 2017-05-03
Ray v7.02 speed survey system - Lightning speed survey system is a. NET+MSSQL deve... 2017-05-03
Cool HITCMS reactive black v3.0 enterprise website source code - HITCMS-Haitian response black enterprises website ... 2017-05-03
WebOA v17.2 network office automation system - WebOA network using b/s structure development of o... 2017-05-03
Pure imitation of han site source code, one a 】 【 c9cms kernel v1.0 - Generic http://www.wufazhuce.com/Han one · Config... 2017-05-04
zone.js - Implements Zones for JavaScript ... 2017-05-11
dragonfly - A Ruby gem for on-the-fly processing - suitable fo... 2017-05-11
oh-my-fish - The Fishshell Framework. 2017-05-11
canvas-lms - The open LMS by Instructure, Inc. 2017-05-11
ledger - Double-entry accounting system with a command-line... 2017-05-11
Python - My Python Examples http://w... 2017-05-11
blade - 2017-05-11
LaZagne - Credentials recovery project 2017-05-10
Pull-to-Refresh.Rentals-iOS - This project aims to provide a simple and customiz... 2017-05-10
spoon - Distributing instrumentation tests to all your And... 2017-05-10

 Back to top