PHP Classes

File: cms/js/summernote/summernote-ext-beagle.js

Recommend this page to a friend!
  Classes of Vivek moyal   PHP Content Management System   cms/js/summernote/summernote-ext-beagle.js   Download  
File: cms/js/summernote/summernote-ext-beagle.js
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: PHP Content Management System
Manage content pages stored on a MySQL database
Author: By
Last change:
Date: 7 years ago
Size: 768 bytes
 

Contents

Class file image Download
(function (factory) { /* global define */ if (typeof define === 'function' && define.amd) { // AMD. Register as an anonymous module. define(['jquery'], factory); } else if (typeof module === 'object' && module.exports) { // Node/CommonJS module.exports = factory(require('jquery')); } else { // Browser globals factory(window.jQuery); } }(function ($) { // - plugin is external module for customizing. $.extend($.summernote.plugins, { 'beagle': function (context) { var layoutInfo = context.layoutInfo; var $toolbar = layoutInfo.toolbar; this.initialize = function ( ) { //Remove the .btn-sm class from toolbar $toolbar.find(".btn-sm").removeClass("btn-sm"); }; } }); }));